UNPKG
@ducor/react
Version:
latest (5.1.9)
5.2.0
5.1.9
5.1.8
5.1.7
5.1.6
5.1.5
5.1.4
5.1.2
5.1.1
5.1.0
5.0.9
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
3.0.1
3.0.0
0.0.0
admin template ui interface
github.com/ducorui/ducor
ducorui/ducor
@ducor/react
/
dist
/
components
/
tree-view
/
context.js
4 lines
(3 loc)
•
153 B
JavaScript
View Raw
1
2
3
4
import
{ createContext }
from
"react"
;
export
const
TreeViewContext
=
createContext
(
undefined
);
export
const
TreeItemContext
=
createContext
(
undefined
);