UNPKG
@deepdub/react-arborist
Version:
latest (3.4.2)
3.4.2
3.4.1
react-arborist.netlify.app
brimdata/react-arborist
@deepdub/react-arborist
/
dist
/
main
/
state
/
edit-slice.d.ts
9 lines
(8 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
type
EditState
= {
id
:
string
|
null
; };
export
declare
function
edit
(
id
:
string
|
null
): {
type
:
"EDIT"
;
id
:
string
|
null
; };
export
declare
function
reducer
(
state
:
EditState
|
undefined
,
action
:
ReturnType
<
typeof
edit>
):
EditState
;