You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
494 B
16 lines
494 B
/* istanbul ignore file */
|
|
|
|
import type { 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> & { isTreeSelectNode: boolean } = () => null;
|
|
TreeNode.inheritAttrs = false;
|
|
TreeNode.displayName = 'ATreeSelectNode';
|
|
TreeNode.isTreeSelectNode = true;
|
|
export default TreeNode;
|