import React from 'react'; import { SelectProps } from '@alifd/next/types/select'; interface data { value?: any; disabled?: boolean; label?: React.ReactNode; } interface propTypes extends SelectProps { /**强制是否显示加载中的loading ,需要在有加载更多按钮下出现*/ isLoading?: boolean; /**加载更多数据的处理函数 返回promise */ loadMore?: Function; /** 强制是否显示加载更多选项 */ showLoadMore?: boolean; /**select的width */ width?: number; /**select的className */ className?: string; /**数据源,在有select.option时失效 */ datasource?: data[]; /**前缀 */ label?: React.ReactNode; /**后缀 */ innerAfter?: React.ReactNode; } interface stateType { isLoading: boolean; } declare class LPSelect extends React.Component { static Option: any; static OptionGroup: any; constructor(props: propTypes); handleMore: (e: any, dispalyLaoding: any) => Promise; returnMyItem: () => JSX.Element[] | undefined; render(): JSX.Element; } export default LPSelect;