/** * 库位选择器 */ import React from 'react'; interface TProps { name?: string; isPreview?: boolean; defaultValue?: any[]; showSearch?: boolean; mode?: string | undefined; onChange?: any; locationTypes?: any; hasSelectAll?: boolean; } interface TState { dataSource: any[]; locationTypes: any; } declare class StorageLocation extends React.Component { static propTypes: { hasSelectAll: any; name: any; defaultValue: any; isPreview: any; showSearch: any; mode: any; onChange: any; locationTypes: any; }; static defaultProps: { hasSelectAll: boolean; name: string; defaultValue: any[]; locationTypes: any[]; isPreview: boolean; showSearch: boolean; mode: string; onChange: () => void; }; state: TState; componentDidMount(): void; UNSAFE_componentWillReceiveProps(nextProps: any): void; fetchData(): Promise; render(): JSX.Element; } export default StorageLocation;