UNPKG

plot-plan-designer

Version:

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

41 lines (40 loc) 1.18 kB
export default DataSources; declare class DataSources extends React.Component<any, any, any> { static propTypes: { dataSources: PropTypes.Requireable<PropTypes.InferProps<{ title: PropTypes.Validator<string>; }>[]>; onChangeDataSources: PropTypes.Validator<(...args: any[]) => any>; }; static defaultProps: { dataSources: any[]; }; constructor(props: any); canvasRef: React.RefObject<any>; state: { dataSource: {}; visible: boolean; validateTitle: { validateStatus: string; help: string; }; current: string; }; handlers: { onOk: () => void; onCancel: () => void; onAdd: () => void; onEdit: (dataSource: any, index: any) => void; onDelete: (index: any) => void; onClear: () => void; onChange: (props: any, changedValues: any, allValues: any) => void; onValid: (value: any) => { validateStatus: string; help: string; }; }; render(): JSX.Element; modalRef: any; } import React from 'react'; import PropTypes from 'prop-types';