Files
editor/src/components/fields/_DeleteStopButton.jsx
orangemug b28407a4a0 Accessibility fixes
- Aria landmarks
 - Title attributes to all icon only buttons
 - <Multibutton/> now internally a radio group
 - Replaced 1 'skip navigation link' with UI group links
 - Added map specific shortcuts to the shortcut menu
 - Hidden layer list actions from tab index
2020-05-18 19:37:49 +01:00

23 lines
451 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import Button from '../Button'
import {MdDelete} from 'react-icons/md'
export default class DeleteStopButton extends React.Component {
static propTypes = {
onClick: PropTypes.func,
}
render() {
return <Button
className="maputnik-delete-stop"
onClick={this.props.onClick}
title={"Remove zoom level from stop"}
>
<MdDelete />
</Button>
}
}