/** * @file MultiSelect 多选/单选组件 */ import React, { FC } from 'react'; import { OptionValue } from './types'; declare type MultiSelectProps = { value: string[] | string; onChange: (value: any) => void; /** * 所有选项 */ options: OptionValue[]; /** *是否开启单选模式,默认不开启 */ single?: boolean; /** * 是否禁用展开收起模式 */ disableExpand?: boolean; /** * 是否禁用 */ disabled?: boolean; /** * 单选时,是否允许再次点击后清除 */ allowClear?: boolean; /** * 按钮样式 */ optionStyle?: React.CSSProperties; /** * 启用带选中对勾的样式 */ withChecked?: boolean; }; export declare const MultiSelect: FC; export {};