import React from 'react'; import { IconButton } from '@carbon/react'; import { showModal, TrashCanIcon } from '@openmrs/esm-framework'; import { useTranslation } from 'react-i18next'; import styles from './delete-sticky-note-button.scss'; interface DeleteStickyNoteProps { noteUuid: string; mutate: () => void; onClose: () => void; } const DeleteStickyNote: React.FC = ({ noteUuid, mutate, onClose }) => { const { t } = useTranslation(); const handleDelete = () => { const dispose = showModal('delete-sticky-note-modal', { close: () => { dispose(); }, noteUuid, mutate, onClose, }); }; return ( ); }; export default DeleteStickyNote;