// @flow import React from 'react' import { ButtonBase } from '../Button' import Icons from '../Icons' type Props = { name: string, handleOnClick: (Event) => void, isEditing?: boolean, } const RemoveButton = ({ isEditing, name, handleOnClick, ...styles }: Props) => ( isEditing === false && ( // $FlowFixMe: Don't want to limit styled-system props ) ) RemoveButton.defaultProps = { isEditing: false, } export default RemoveButton