UNPKG
@jchinkle/react-arborist
Version:
latest (3.0.7)
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
react-arborist.netlify.app
jchinkle/react-arborist
@jchinkle/react-arborist
/
dist
/
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
;