ant-design-vue/components/vc-tree-select/src/SelectNode.jsx
2020-08-30 22:23:36 +08:00

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;