export const LeftColumn = ({ isVisible, children }: LeftColumnProps): JSX.Element => {
return (
{isVisible === true ? (
{children}
) : (
)}
);
};
export const RightColumn = ({ children }: RightColumnProps): JSX.Element => {
return (
{children}
);
};
interface LeftColumnProps {
isVisible?: boolean;
children?: JSX.Element | JSX.Element[];
}
interface RightColumnProps {
children?: JSX.Element | JSX.Element[];
}