UNPKG
xbpr
Version:
latest (0.0.1)
0.0.1
xbp react ui by @arco-design/web-react
xbpr
/
es
/
Anchor
/
context.js
9 lines
(8 loc)
•
219 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ createContext }
from
'react'
;
export
default
createContext
({
direction
:
'vertical'
,
currentLink
:
''
,
onLinkClick
:
function
(
) { },
addLink
:
function
(
) { },
removeLink
:
function
(
) { }, });