make title & label as optional props in treeSelect

pull/11467/head
zombiej 7 years ago
parent 9f76f1c276
commit f5652f8e57

@ -4,7 +4,11 @@ import { AbstractSelectProps } from '../select';
export interface TreeData {
key: string;
value: string;
title: React.ReactNode;
/**
* @deprecated Please use `title` instead.
*/
label?: React.ReactNode;
title?: React.ReactNode;
children?: TreeData[];
}

Loading…
Cancel
Save