mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
feat: export BasicDataNode type from tree (#44624)
This commit is contained in:
parent
ef4ccaeaac
commit
03fee8d837
@ -22,7 +22,7 @@ export type {
|
||||
AntdTreeNodeAttribute,
|
||||
TreeProps,
|
||||
} from './Tree';
|
||||
export type { DataNode };
|
||||
export type { DataNode, BasicDataNode };
|
||||
|
||||
type CompoundedComponent = (<T extends BasicDataNode | DataNode = DataNode>(
|
||||
props: React.PropsWithChildren<TreeProps<T>> & { ref?: React.Ref<RcTree> },
|
||||
|
Loading…
Reference in New Issue
Block a user