Virtual view that simulates a POS printer. This is a work in progress currently in beta state.
npm install @g01-tecnologia/react-native-pos-print-preview
# or
yarn add @g01-tecnologia/react-native-pos-print-previewimport VirtualPOS from '@g01-tecnologia/react-native-pos-print-preview';
//...
const [commands, setCommands] = useState([{ cmd: null, prn: 'Hello POS!' }]);
return <VirtualPOS data={commands} />;See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT