import type { ReactNode } from 'react'; import classnames from 'classnames'; import { useT } from '../../use-t'; type LayoutCellProps = { label?: string; hasError?: boolean; isLoading?: boolean; children?: ReactNode; dataTestId?: string; }; export const LayoutCell = ({ hasError, label, isLoading, children, dataTestId, }: LayoutCellProps) => { const t = useT(); const classes = [ 'lg:text-right flex justify-between lg:block', 'my-2 lg:my-0', ]; return (