import * as React from 'react'; import Box from '@wcpos/components/src/box'; import Text from '@wcpos/components/src/text'; import { useT } from '../../../contexts/translations'; interface EmptyTableRowProps { message?: string; } const EmptyTableRow = ({ message }: EmptyTableRowProps) => { const t = useT(); return ( {message || t('No results found', { _tags: 'core' })} ); }; export default EmptyTableRow;