{"version":3,"file":"CloseButton-1772bfa0.js","sources":["../../../app/javascript/components_shared/CloseButton/CloseButton.tsx"],"sourcesContent":["import React, { FC } from 'react'\nimport { Callback } from 'shared/util/types.util'\nimport IconButton from 'components_shared/atoms/IconButton'\nimport classNames from 'classnames'\n\ninterface Props {\n onClose?: Callback\n className?: string\n}\n\nconst CloseButton: FC = ({ onClose, className }) => (\n onClose && onClose()}\n className={classNames('px-2', className)}\n />\n)\n\nexport default CloseButton\n"],"names":["CloseButton","onClose","className","React","IconButton","classNames"],"mappings":"6IAUA,MAAMA,EAAyB,CAAC,CAAE,QAAAC,EAAS,UAAAC,CACzC,IAAAC,EAAA,cAACC,EAAA,CACC,OAAO,UACP,KAAK,QACL,QAAS,IAAMH,GAAWA,EAAQ,EAClC,UAAWI,EAAW,OAAQH,CAAS,CAAA,CACzC"}