toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
useUndo
use
Undo
@
Composable
fun
<
T
>
useUndo
(
initialPresent
:
T
)
:
Tuple7
<
UndoState
<
T
>
,
SetValueFn
<
T
>
,
ResetValueFn
<
T
>
,
UndoFn
,
RedoFn
,
CanUndo
,
CanRedo
>