mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +08:00
make title & label as optional props in treeSelect
This commit is contained in:
parent
9f76f1c276
commit
f5652f8e57
@ -4,7 +4,11 @@ import { AbstractSelectProps } from '../select';
|
|||||||
export interface TreeData {
|
export interface TreeData {
|
||||||
key: string;
|
key: string;
|
||||||
value: string;
|
value: string;
|
||||||
title: React.ReactNode;
|
/**
|
||||||
|
* @deprecated Please use `title` instead.
|
||||||
|
*/
|
||||||
|
label?: React.ReactNode;
|
||||||
|
title?: React.ReactNode;
|
||||||
children?: TreeData[];
|
children?: TreeData[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user