UNPKG
@confi/conflux-react-ui-test-package
Version:
alpha (1.0.0-alpha.2)
latest (1.0.0-alpha.2)
1.0.0-alpha.2
Modern and minimalist React UI library.
conflux-react-ui.vercel.app
Conflux-Chain/react-ui
@confi/conflux-react-ui-test-package
/
dist
/
tree
/
tree-context.d.ts
9 lines
(8 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
React
from
'react'
;
export
interface
TreeConfig
{
onFileClick
?:
(
path
:
string
) =>
void
;
initialExpand
:
boolean
;
isImperative
:
boolean
; }
export
declare
const
TreeContext
:
React
.
Context
<
TreeConfig
>;
export
declare
const
useTreeContext
:
() =>
TreeConfig
;