UNPKG

plot-plan-designer

Version:

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

36 lines (35 loc) 1.27 kB
export default ImageMapItems; declare class ImageMapItems extends React.Component<any, any, any> { static propTypes: { canvasRef: PropTypes.Requireable<any>; descriptors: PropTypes.Requireable<object>; }; constructor(props: any); constructor(props: any, context: any); waitForCanvasRender: (canvas: any) => void; attachEventListener: (canvas: any) => void; detachEventListener: (canvas: any) => void; handlers: { onAddItem: (item: any, centered: any) => void; onAddSVG: (option: any, centered: any) => void; onDrawingItem: (item: any) => void; onChangeActiveKey: (activeKey: any) => void; onCollapse: () => void; onSearchNode: (e: any) => void; transformList: () => any; onSVGModalVisible: () => void; }; events: { onDragStart: (e: any, item: any) => void; onDragOver: (e: any) => boolean; onDragEnter: (e: any) => void; onDragLeave: (e: any) => void; onDrop: (e: any) => boolean; onDragEnd: (e: any) => void; }; item: any; renderItems: (items: any) => JSX.Element; renderItem: (item: any, centered: any) => JSX.Element; } import React from "react"; import PropTypes from "prop-types";