import { useTranslation } from 'react-i18next' import type { ReactNode } from 'react' interface EmptyStateProps { title?: string children?: ReactNode } export function EmptyState({ title, children }: EmptyStateProps) { const { t } = useTranslation() return (
{title ?? t('common.empty')}
{children}