Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
REACT CODE EXAMPLE
printJS table border code example npm install print js function printDiv() { printJS({ printable: ‘table’, type: ‘html’, style: ‘td { border: 1px solid #d9d9d9 !important;} th { border: 1px solid #d9d9d9 !important;}’ }); } <table class=”table table-bordered” id=”table”>…
import * as React from “react”; import ReactToPrint from “react-to-print”; import { ComponentToPrint } from “../ComponentToPrint”; export const FunctionalComponent = () => { const componentRef = React.useRef(null); const onBeforeGetContentResolve = React.useRef(null); const [loading, setLoading] = React.useState(false); const [text, setText]…