mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-01 19:48:38 +08:00
15 lines
382 B
Vue
15 lines
382 B
Vue
import VcTree from '../../vc-tree';
|
|
/**
|
|
* SelectNode wrapped the tree node.
|
|
* Let's use SelectNode instead of TreeNode
|
|
* since TreeNode is so confuse here.
|
|
*/
|
|
const TreeNode = VcTree.TreeNode;
|
|
function SelectNode(_, { attrs, slots }) {
|
|
return <TreeNode {...attrs} vSlots={slots} />;
|
|
}
|
|
|
|
SelectNode.isTreeNode = true;
|
|
SelectNode.inheritAttrs = false;
|
|
export default SelectNode;
|