nutui-taro-upgrade
Version:
@nutui/nutui-taro 对京东风格组件库的taro4 版本支持
32 lines (31 loc) • 711 B
TypeScript
export type CascaderPane = {
nodes: CascaderOption[];
selectedNode: CascaderOption | null;
};
export type CascaderConfig = {
value?: string;
text?: string;
children?: string;
};
export type CascaderTabs = {
title: string;
paneKey: string;
disabled: boolean;
};
export type CascaderOption = {
text?: string;
value?: number | string;
disabled?: boolean;
children?: CascaderOption[];
leaf?: boolean;
level?: number;
loading?: boolean;
[key: PropertyKey]: any;
};
export type CascaderValue = CascaderOption['value'][];
export type convertConfig = {
topId?: string | number | null;
idKey?: string;
pidKey?: string;
sortKey?: string;
};