UNPKG

emv

Version:

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

9 lines 593 B
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime"; import { Box, Text } from 'ink'; function KeyHint({ keys, description }) { return (_jsxs(Box, { marginRight: 2, children: [_jsxs(Text, { color: "yellow", bold: true, children: ["[", keys, "]"] }), _jsxs(Text, { color: "gray", children: [" ", description] })] })); } export function Footer({ hints }) { return (_jsx(Box, { marginTop: 1, paddingX: 2, flexWrap: "wrap", children: hints.map((hint, index) => (_jsx(KeyHint, { keys: hint.keys, description: hint.description }, index))) })); } //# sourceMappingURL=Footer.js.map