ant-design-vue/components/vc-tree-select/TreeNode.tsx

15 lines
423 B
Vue
Raw Normal View History

2021-08-20 13:39:59 +00:00
/* istanbul ignore file */
import { FunctionalComponent } from 'vue';
import type { DataNode, Key } from './interface';
export interface TreeNodeProps extends Omit<DataNode, 'children'> {
value: Key;
}
/** This is a placeholder, not real render in dom */
const TreeNode: FunctionalComponent<TreeNodeProps> = () => null;
TreeNode.inheritAttrs = false;
TreeNode.displayName = 'ATreeSelectNode';
export default TreeNode;