/** * select组件的封装修改了组件的icon,包括单选的下拉icon,和多选的清楚icon */ import * as React from 'react'; import { Select as AntdSelect } from 'antd'; import { SelectProps, SelectValue } from 'antd/lib/select'; import './index.less'; import { RefObject } from 'react'; interface IProps extends SelectProps { showSelectAll?: boolean; allChoosed?: boolean; chooseAll?: () => void; triggerSelectRef?: (res: RefObject) => void; } declare class Select extends React.Component { static Option: typeof AntdSelect.Option; static OptGroup: typeof AntdSelect.OptGroup; private andSelectRef; static defaultProps: { showSelectAll: boolean; allChoosed: boolean; }; componentDidMount(): void; constructor(props: IProps); render(): JSX.Element; } export default Select;