UNPKG

@pdfme/ui

Version:

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

20 lines (18 loc) 583 B
import type { SchemaForUI, Size, ChangeSchemas } from '@pdfme/common'; export type SidebarProps = { height: number; hoveringSchemaId: string | null; onChangeHoveringSchemaId: (id: string | null) => void; size: Size; pageSize: Size; activeElements: HTMLElement[]; schemas: SchemaForUI[]; schemasList: SchemaForUI[][]; onSortEnd: (sortedSchemas: SchemaForUI[]) => void; onEdit: (id: string) => void; onEditEnd: () => void; changeSchemas: ChangeSchemas; deselectSchema: () => void; sidebarOpen: boolean; setSidebarOpen: (sidebarOpen: boolean) => void; };