toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
rememberUndo
remember
Undo
@
Composable
fun
<
T
>
rememberUndo
(
initialPresent
:
T
)
:
Tuple7
<
UndoState
<
T
>
,
(
T
)
->
Unit
,
(
T
)
->
Unit
,
(
)
->
Unit
,
(
)
->
Unit
,
CanUndo
,
CanRedo
>