From 201c6cadf1d741ec7fac0eace8a91a546a6595ac Mon Sep 17 00:00:00 2001 From: vldh Date: Fri, 28 May 2021 13:26:18 +0800 Subject: [PATCH] fix: export TreeDataNode (#30745) --- components/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/index.tsx b/components/index.tsx index eea9f0c0d6..48c4253dcb 100644 --- a/components/index.tsx +++ b/components/index.tsx @@ -185,7 +185,11 @@ export { default as Table } from './table'; export type { TransferProps } from './transfer'; export { default as Transfer } from './transfer'; -export type { TreeProps, AntTreeNodeProps as TreeNodeProps } from './tree'; +export type { + TreeProps, + AntTreeNodeProps as TreeNodeProps, + DataNode as TreeDataNode, +} from './tree'; export { default as Tree } from './tree'; export type { TreeSelectProps } from './tree-select';