Browse Source

Fix: Typescript definition of CascaderOptionType missing some fields #17555

pull/17581/head
MrHeer 5 years ago
parent
commit
7e4e5a8866
  1. 2
      components/cascader/index.tsx

2
components/cascader/index.tsx

@ -15,6 +15,8 @@ export interface CascaderOptionType {
value?: string;
label?: React.ReactNode;
disabled?: boolean;
isLeaf?: boolean;
loading?: boolean;
children?: Array<CascaderOptionType>;
[key: string]: any;
}

Loading…
Cancel
Save