import * as PropTypes from 'prop-types'; import * as React from 'react'; import { Button } from 'react-bootstrap'; import { addStyle } from 'react-bootstrap/lib/utils/bootstrapUtils'; addStyle(Button, 'box-tool'); export interface Props { className?: string; onClick?: React.MouseEventHandler; }; const propTypes = { children: PropTypes.node, className: PropTypes.string, onClick: PropTypes.func, }; const handleClick = (cb?: React.MouseEventHandler) => { return (event: React.MouseEvent; BoxToolButton.propTypes = propTypes; export default BoxToolButton;