UNPKG
@ctsy/layui-vue
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
0.4.6
0.3.4
0.3.3
0.3.2
a component library for Vue 3 base on layui-vue
www.layui-vue.com
@ctsy/layui-vue
/
types
/
component
/
tree
/
useTree.d.ts
9 lines
(8 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
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
;