Skip to content

posprint/previewer-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POS Print Previewer React

Previewer of template for POS Print in React

Usage

import { hydrate } from 'pos-print-template-jsx';
import Previewer from 'pos-print-previewer-react';

function render(props) {
  const { template, style, data, printer } = props;
  const dom = hydrate(template, style, data, printer);
  return <Previewer dom={dom} />;
}

About

React component for POS Print template preview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published