export const LeftColumn = ({ isVisible, children }: LeftColumnProps): JSX.Element => {
    return (
        <box className={`card-button-section-container ${isVisible === true ? 'visible' : ''}`}>
            {isVisible === true ? (
                <box vertical hexpand vexpand>
                    {children}
                </box>
            ) : (
                <box />
            )}
        </box>
    );
};

export const RightColumn = ({ children }: RightColumnProps): JSX.Element => {
    return (
        <box className={'card-button-section-container'}>
            <box vertical hexpand vexpand>
                {children}
            </box>
        </box>
    );
};

interface LeftColumnProps {
    isVisible?: boolean;
    children?: JSX.Element | JSX.Element[];
}

interface RightColumnProps {
    children?: JSX.Element | JSX.Element[];
}
