UNPKG

emv

Version:

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

7 lines 420 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box, Text } from 'ink'; import Spinner from 'ink-spinner'; export function LoadingSpinner({ message }) { return (_jsxs(Box, { marginY: 1, paddingX: 2, children: [_jsx(Text, { color: "cyan", children: _jsx(Spinner, { type: "dots" }) }), _jsxs(Text, { color: "cyan", children: [" ", message] })] })); } //# sourceMappingURL=LoadingSpinner.js.map