import { SelectProps, SelectValue } from 'antd/lib/select'; import { OptionProps } from 'rc-select/lib/Option'; export interface ArrSelectProps extends Omit, 'options'> { options: OptionProps[] | { [value: string]: any; [value: number]: any; } | (string | number)[]; renderOptionProps?: (option: OptionProps) => OptionProps; arrValue?: boolean; /** * 使用字符串类型的值 */ stringValue?: boolean; } export declare const transferOptions: (options: ArrSelectProps['options'], stringValue?: boolean) => OptionProps[]; /** * 传数组或者对象就会返回Select */ declare const _default: ({ renderOptionProps, options, arrValue, value, onChange, mode, stringValue, ...props }: ArrSelectProps) => JSX.Element; export default _default;