Merge pull request #17581 from MrHeer/fix-#17555

fix: Typescript definition of CascaderOptionType missing some fields #17555
This commit is contained in:
偏右 2019-07-11 12:28:59 +08:00 committed by GitHub
commit 79bff3ff61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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