printuicomponent
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

PrintUIComponent

Motivation : Using in built browse's feature Print React, or any HTML component with styling on top of it

  • Usage:
    • npm install PrintUIComponent

    • import {PrintUIComponent} from 'printuicomponent'

    • call
      PrintUIComponent(htmlBody, styles, windowTitle, windowSize = { height: "", width: "", top: "", left: "", right: "" }, shouldAutoPrint = false)

    • That's it !!!

Package Sidebar

Install

npm i printuicomponent

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

85.5 kB

Total Files

11

Last publish

Collaborators

  • ashifzafar