mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Change label in TreeData interface to title, since label is deprecated (#11442)
This commit is contained in:
parent
fbf1a35249
commit
36f396f86f
@ -4,7 +4,7 @@ import { AbstractSelectProps } from '../select';
|
||||
export interface TreeData {
|
||||
key: string;
|
||||
value: string;
|
||||
label: React.ReactNode;
|
||||
title: React.ReactNode;
|
||||
children?: TreeData[];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user