printuicomponent
v1.0.2
Published
Utility for printing React or any HTML component with styling
Maintainers
Readme
PrintUIComponent
Motivation : Using in built browse's feature Print React, or any HTML component with styling on top of it
- Usage:
npm install PrintUIComponentimport {PrintUIComponent} from 'printuicomponent'
call
PrintUIComponent(htmlBody, styles, windowTitle, windowSize = { height: "", width: "", top: "", left: "", right: "" }, shouldAutoPrint = false)That's it !!!
