UNPKG

@layui/layui-vue

Version:

a component library for Vue 3 base on layui-vue

9 lines (8 loc) 314 B
import type { TreeEmits, TreeProps } from "./tree.type"; import type { ComputedRef } from "vue"; import { Tree, TreeData } from "./tree"; export declare type UseTree = (props: TreeProps, emit: TreeEmits) => { tree: Tree; nodeList: ComputedRef<TreeData[]>; }; export declare const useTree: UseTree;