@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!
17 lines (14 loc) • 466 B
text/typescript
import type { Plugin } from '@pdfme/common';
import { pdfRender } from './pdfRender.js';
import { propPanel } from './propPanel.js';
import { uiRender } from './uiRender.js';
import type { TextSchema } from './types.js';
import { TextCursorInput } from 'lucide';
import { createSvgStr } from '../utils.js';
const textSchema: Plugin<TextSchema> = {
pdf: pdfRender,
ui: uiRender,
propPanel,
icon: createSvgStr(TextCursorInput),
};
export default textSchema;