UNPKG

@pdfme/schemas

Version:

TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!

16 lines (14 loc) 449 B
import type { Plugin } from '@pdfme/common'; import type { TableSchema } from './types.js'; import { pdfRender } from './pdfRender.js'; import { uiRender } from './uiRender.js'; import { propPanel } from './propPanel.js'; import { Table } from 'lucide'; import { createSvgStr } from '../utils.js'; const tableSchema: Plugin<TableSchema> = { pdf: pdfRender, ui: uiRender, propPanel, icon: createSvgStr(Table), }; export default tableSchema;