mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-03-16 09:29:51 +01:00
26 lines
529 B
React
26 lines
529 B
React
|
import React from 'react'
|
||
|
import PropTypes from 'prop-types'
|
||
|
|
||
|
import DocLabel from './DocLabel'
|
||
|
import Button from '../Button'
|
||
|
import DeleteIcon from 'react-icons/lib/md/delete'
|
||
|
|
||
|
|
||
|
export default class DeleteStopButton extends React.Component {
|
||
|
static propTypes = {
|
||
|
onClick: PropTypes.func,
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
return <Button
|
||
|
className="maputnik-delete-stop"
|
||
|
onClick={this.props.onClick}
|
||
|
>
|
||
|
<DocLabel
|
||
|
label={<DeleteIcon />}
|
||
|
doc={"Remove zoom level stop."}
|
||
|
/>
|
||
|
</Button>
|
||
|
}
|
||
|
}
|