From 7e4e5a886674861d751d0e416605797ceccbca94 Mon Sep 17 00:00:00 2001 From: MrHeer Date: Thu, 11 Jul 2019 12:05:43 +0800 Subject: [PATCH] Fix: Typescript definition of CascaderOptionType missing some fields #17555 --- components/cascader/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/cascader/index.tsx b/components/cascader/index.tsx index 5f94f628ae..745ada08dc 100644 --- a/components/cascader/index.tsx +++ b/components/cascader/index.tsx @@ -15,6 +15,8 @@ export interface CascaderOptionType { value?: string; label?: React.ReactNode; disabled?: boolean; + isLeaf?: boolean; + loading?: boolean; children?: Array; [key: string]: any; }