toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
useFunctionState
use
Function
State
external
fun
<
T
:
Any
>
useFunctionState
(
)
:
FunctionStateInstance
<
T
?
>
(
source
)
external
fun
<
T
>
useFunctionState
(
initialValue
:
T
)
:
FunctionStateInstance
<
T
>
(
source
)
external
fun
<
T
>
useFunctionState
(
initializer
:
(
)
->
T
)
:
FunctionStateInstance
<
T
>
(
source
)