import React from 'react'; import { Icons } from '@ohif/ui-next'; import DividerItem from './DividerItem'; import { useTranslation } from 'react-i18next'; type BackItemProps = { backLabel?: string; onBackClick: () => void; }; const BackItem = ({ backLabel, onBackClick }: BackItemProps) => { const { t } = useTranslation('Common'); return ( <>
{backLabel || t('Back')}
); }; export default BackItem;