1 | import type { Numeric } from '../utils';
|
2 | export type CascaderOption = {
|
3 | text?: string;
|
4 | value?: Numeric;
|
5 | color?: string;
|
6 | disabled?: boolean;
|
7 | children?: CascaderOption[];
|
8 | className?: unknown;
|
9 | [key: PropertyKey]: any;
|
10 | };
|
11 | export type CascaderTab = {
|
12 | options: CascaderOption[];
|
13 | selected: CascaderOption | null;
|
14 | };
|
15 | export type CascaderFieldNames = {
|
16 | text?: string;
|
17 | value?: string;
|
18 | children?: string;
|
19 | };
|
20 | export type CascaderThemeVars = {
|
21 | cascaderHeaderHeight?: string;
|
22 | cascaderHeaderPadding?: string;
|
23 | cascaderTitleFontSize?: string;
|
24 | cascaderTitleLineHeight?: number | string;
|
25 | cascaderCloseIconSize?: string;
|
26 | cascaderCloseIconColor?: string;
|
27 | cascaderSelectedIconSize?: string;
|
28 | cascaderTabsHeight?: string;
|
29 | cascaderActiveColor?: string;
|
30 | cascaderOptionsHeight?: string;
|
31 | cascaderOptionDisabledColor?: string;
|
32 | cascaderTabColor?: string;
|
33 | cascaderUnselectedTabColor?: string;
|
34 | };
|