import { jsx as _jsx } from "react/jsx-runtime";
/**
 * CardLayout — Aligns a single child within available space.
 */
import { Box } from 'ink';
import { HAlign, VAlign } from '../styles.js';
export const CardLayout = ({ hAlign = HAlign.Left, vAlign = VAlign.Top, children, }) => {
    return (_jsx(Box, { flexDirection: "column", flexGrow: 1, justifyContent: vAlign, alignItems: hAlign, children: children }));
};
