@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!
11 lines (10 loc) • 325 B
TypeScript
import { Plugin, Schema } from '@pdfme/common';
export interface ShapeSchema extends Schema {
type: 'ellipse' | 'rectangle';
borderWidth: number;
borderColor: string;
color: string;
radius?: number;
}
export declare const rectangle: Plugin<ShapeSchema>;
export declare const ellipse: Plugin<ShapeSchema>;