UNPKG

emv

Version:

EMV / Chip and PIN CLI and library for PC/SC card readers

6 lines 484 B
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime"; import { Box, Text } from 'ink'; export function CardBox({ title, children }) { return (_jsxs(Box, { flexDirection: "column", marginY: 1, paddingX: 2, children: [_jsx(Box, { marginBottom: 1, children: _jsxs(Text, { color: "magenta", bold: true, children: ["\u250C\u2500 ", title, " \u2500"] }) }), _jsx(Box, { flexDirection: "column", paddingLeft: 2, children: children })] })); } //# sourceMappingURL=CardBox.js.map