UNPKG
@clive-cudi/geist-ui
Version:
latest (1.0.0)
1.0.0
Modern and minimalist React UI library.
geist-ui.dev
clive-cudi/geist-ui
@clive-cudi/geist-ui
/
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
;