PdfTable
A more user-friendly way to define tables than to use <pdf-table>
.
Props
Example
tsx
import {PdfTable } from "react-pdfmake-reconciler";consttable = (<PdfTable rows ={[[<pdf-text >Header 1</pdf-text >, <pdf-text >Header 2</pdf-text >],[<pdf-cell border ={[true, true, true, true]}><pdf-text >Cell 1</pdf-text ></pdf-cell >,<pdf-text >Cell 2</pdf-text >,],]}/>);
tsx
import {PdfTable } from "react-pdfmake-reconciler";consttable = (<PdfTable rows ={[[<pdf-text >Header 1</pdf-text >, <pdf-text >Header 2</pdf-text >],[<pdf-cell border ={[true, true, true, true]}><pdf-text >Cell 1</pdf-text ></pdf-cell >,<pdf-text >Cell 2</pdf-text >,],]}/>);