UNPKG

@ctsy/layui-vue

Version:

a component library for Vue 3 base on layui-vue

9 lines (8 loc) 296 B
import { TreeEmits, TreeProps } from "./tree.type"; import { 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;