Skip to content

React Native component to emulate a POS printer, displaying the to-be-printed values in a native View.

License

Notifications You must be signed in to change notification settings

gzero1/react-native-pos-print-preview

Repository files navigation

@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

About

React Native component to emulate a POS printer, displaying the to-be-printed values in a native View.

Resources

License

Stars

Watchers

Forks

Packages

No packages published