emv
Version:
EMV / Chip and PIN CLI and library for PC/SC card readers
10 lines • 739 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from 'ink';
import { Header, Footer, CardBox, LoadingSpinner } from '../components/index.js';
export function WaitingScreen({ readerName }) {
return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Header, {}), _jsxs(CardBox, { title: "Waiting for Card", children: [_jsxs(Text, { color: "gray", children: ["Reader: ", readerName] }), _jsx(Text, { children: " " }), _jsx(LoadingSpinner, { message: "Insert a card to continue..." })] }), _jsx(Footer, { hints: [
{ keys: 'Esc', description: 'Back' },
{ keys: 'q', description: 'Quit' },
] })] }));
}
//# sourceMappingURL=WaitingScreen.js.map