UNPKG

plot-plan-designer

Version:

Design Editor Tools with React.js + ant.design + fabric.js

20 lines (19 loc) 658 B
import { Component } from 'react'; import { Canvas } from '../canvas'; interface IProps { canvas: Canvas; } declare class FlowItems extends Component<IProps> { item: any; attachEventListener: () => void; detachEventListener: () => void; handleDragOver: (e: DragEvent) => boolean; handleDragEnter: (e: DragEvent) => void; handleDragLeave: (e: DragEvent) => void; handleDrop: (e: DragEvent) => boolean; handleAddNode: (descriptor: any, centered?: boolean) => void; renderItems: (descriptors: any[]) => JSX.Element; renderItem: (descriptor: any) => JSX.Element; render(): JSX.Element; } export default FlowItems;