/** * @file 多选组件相关类型定义 */ /// export interface OptionValue { value: string; label: string; disabled?: boolean; } export interface OptionProps { option: OptionValue; disabled: boolean; selected: boolean; onClick: () => void; optionStyle?: React.CSSProperties; single?: boolean; withChecked?: boolean; } export declare type OptionComponentType = HTMLDivElement | null | undefined;