UNPKG

@wufengteam/inputs

Version:

平台提供的右侧属性编辑器,需要在主工程中注册

34 lines (33 loc) 795 B
import type { FC } from 'react'; import './index.less'; interface DataType { key: string; dataKey: string; dataKeyType: string; dataType: string; dataValue: any; editable: boolean; keyPlaceholder?: string; placeholder?: string; isLeaf?: boolean; parentKey?: any; } interface KVTableProps { allowEdit?: boolean; onlyEdit?: boolean; tableData?: DataType[]; keyList?: any[]; localFieldList?: any[]; getUsedComps: () => any[]; showHeader?: boolean; showAddItem?: boolean; onDataUpdate?: (tableKey: string, tabList: any[]) => void; tableKey: string; isClear: boolean; } export declare const valueTypeList: { label: string; value: string; }[]; declare const KVTable: FC<KVTableProps>; export default KVTable;