import type { ReactNode } from 'react'; import classnames from 'classnames'; import { t } from '@vegaprotocol/react-helpers'; type LayoutCellProps = { hasError?: boolean; isLoading?: boolean; children?: ReactNode; }; export const LayoutCell = ({ hasError, isLoading, children, }: LayoutCellProps) => { return (
{isLoading ? t('Checking') : children || '-'}
); };