mirror of
https://github.com/maputnik/editor.git
synced 2026-09-01 09:57:27 +00:00
Migration of jsx files to tsx 2 (#850)
This is to continue the work of migrating all the jsx files into tsx files. The MO is basically described here: #848. About 7 files to go...
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import React from 'react'
|
||||
|
||||
import InputButton from './InputButton'
|
||||
import {MdDelete} from 'react-icons/md'
|
||||
|
||||
|
||||
type DeleteStopButtonProps = {
|
||||
onClick?(...args: unknown[]): unknown
|
||||
};
|
||||
|
||||
|
||||
export default class DeleteStopButton extends React.Component<DeleteStopButtonProps> {
|
||||
render() {
|
||||
return <InputButton
|
||||
className="maputnik-delete-stop"
|
||||
onClick={this.props.onClick}
|
||||
title={"Remove zoom level from stop"}
|
||||
>
|
||||
<MdDelete />
|
||||
</InputButton>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user