mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
- 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
23 lines
451 B
JavaScript
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>
|
|
}
|
|
}
|