1 | import type * as React from 'react';
|
2 | export type RawValueType = string | number;
|
3 | export interface FlattenOptionData<OptionType> {
|
4 | label?: React.ReactNode;
|
5 | data: OptionType;
|
6 | key: React.Key;
|
7 | value?: RawValueType;
|
8 | groupOption?: boolean;
|
9 | group?: boolean;
|
10 | }
|
11 | export interface DisplayValueType {
|
12 | key?: React.Key;
|
13 | value?: RawValueType;
|
14 | label?: React.ReactNode;
|
15 | title?: React.ReactNode;
|
16 | disabled?: boolean;
|
17 | }
|
18 | export type RenderNode = React.ReactNode | ((props: any) => React.ReactNode);
|
19 | export type RenderDOMFunc = (props: any) => HTMLElement;
|
20 | export type Mode = 'multiple' | 'tags' | 'combobox';
|
21 | export type Placement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
22 | export type DisplayInfoType = 'add' | 'remove' | 'clear';
|