Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 679 Bytes

File metadata and controls

32 lines (20 loc) · 679 Bytes

@g01-tecnologia/react-native-pos-print-preview

Virtual view that simulates a POS printer. This is a work in progress currently in beta state.

Installation

npm install @g01-tecnologia/react-native-pos-print-preview
# or
yarn add @g01-tecnologia/react-native-pos-print-preview

Usage

import VirtualPOS from '@g01-tecnologia/react-native-pos-print-preview';

//...

const [commands, setCommands] = useState([{ cmd: null, prn: 'Hello POS!' }]);

return <VirtualPOS data={commands} />;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT