ant-design-vue/components/vc-select/interface.ts

12 lines
259 B
TypeScript

import type { Key } from '../_util/type';
import type { RawValueType } from './BaseSelect';
export interface FlattenOptionData<OptionType> {
label?: any;
data: OptionType;
key: Key;
value?: RawValueType;
groupOption?: boolean;
group?: boolean;
}