import { ActionMenuButton, launchWorkspace, StickyNoteAddIcon } from '@openmrs/esm-framework'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { type WardPatientWorkspaceProps } from '../../types'; export default function WardPatientNotesActionButton() { const { t } = useTranslation(); return ( } label={t('PatientNote', 'Patient Note')} iconDescription={t('PatientNote', 'Patient Note')} handler={() => launchWorkspace('ward-patient-notes-workspace')} type={'ward-patient-notes'} /> ); }