UNPKG

plot-plan-designer

Version:

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

33 lines (32 loc) 910 B
export default EditTable; declare class EditTable extends React.Component<any, any, any> { static propTypes: { userProperty: PropTypes.Requireable<object>; form: PropTypes.Requireable<any>; onChange: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { userProperty: {}; }; constructor(props: any); constructor(props: any, context: any); getDataSource: (userProperty: any) => { key: string; value: any; }[]; handlers: { onOk: () => void; onCancel: () => void; onChangeKey: (value: any) => void; }; modalHandlers: { onShow: () => void; onHide: () => void; }; handleAdd: () => void; handleEdit: (key: any) => void; handleDelete: (key: any) => void; handleClear: () => void; } import React from "react"; import PropTypes from "prop-types";