import * as React from 'react'; import type { Property } from './typing'; export interface Option { label: string; value: string; disabled?: boolean; } export interface IPropertiesListProps { /** 是否映射字段可编辑 */ mappingDisabled?: boolean; /** 是否可编辑 */ disabled?: boolean; /** 标题,默认是 Properties */ title?: string | React.ReactNode; /** 属性 */ properties?: Property[]; propertiesFromFiles?: Property[]; /** 每当属性改变的时候,会触发该方法 */ onChange: (properties: Property[]) => void; /**  第二项 */ typeColumn: { options: Option[]; }; /** 第四项 */ mappingColumn?: { options: Option[]; type: 'Select' | 'InputNumber'; }; } /** * name --> nameOptions / name_options * type--> typeOptions / type_options * token--> tokenOptions === dataFields * */ declare const PropertiesList: React.FunctionComponent; export default PropertiesList;