import * as React from 'react'; import { injectIntl, IntlShape } from 'react-intl'; import IconClose from '../../icon/fill/X16'; import PlainButton from '../plain-button'; // @ts-ignore flow import import messages from '../../common/messages'; type Props = { intl: IntlShape; onClick: (event: React.SyntheticEvent) => void; }; const CloseButton = ({ intl, onClick }: Props) => ( ); export { CloseButton as CloseButtonBase }; export default injectIntl(CloseButton);