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 !!!
-