import React from 'react'; interface TProps { /** * 属性注释 * @default Leslie */ name?: string; showSearch?: boolean; placeholder: string; type?: string; isPreview?: boolean; defaultValue?: any; mode?: string; hasClear?: boolean; onChange?: any; query?: any; } interface TState { /** * 状态注释 * @default jungle */ dataSource: any; apiCode: string; } declare class SelectField extends React.Component { static propTypes: { showSearch: any; placeholder: any; query: any; type: any; name: any; defaultValue: any; mode: any; hasClear: any; isPreview: any; onChange: any; }; static defaultProps: { showSearch: boolean; placeholder: string; type: string; query: {}; name: string; defaultValue: any[]; mode: string; hasClear: boolean; isPreview: boolean; onChange: () => void; }; state: TState; componentDidMount(): void; fetchData(): any; render(): JSX.Element; } export default SelectField;