2017-11-17 17:17:53 +00:00
|
|
|
import React from 'react'
|
|
|
|
import PropTypes from 'prop-types'
|
|
|
|
|
2020-06-01 16:09:32 +01:00
|
|
|
import Button from './Button'
|
2018-10-06 16:06:21 +01:00
|
|
|
import {MdDelete} from 'react-icons/md'
|
2017-11-17 17:17:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
export default class DeleteStopButton extends React.Component {
|
|
|
|
static propTypes = {
|
|
|
|
onClick: PropTypes.func,
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return <Button
|
|
|
|
className="maputnik-delete-stop"
|
|
|
|
onClick={this.props.onClick}
|
2020-05-18 19:37:49 +01:00
|
|
|
title={"Remove zoom level from stop"}
|
2017-11-17 17:17:53 +00:00
|
|
|
>
|
2020-01-23 08:33:12 +00:00
|
|
|
<MdDelete />
|
2017-11-17 17:17:53 +00:00
|
|
|
</Button>
|
|
|
|
}
|
|
|
|
}
|