toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
Component
/
setState
set
State
fun
setState
(
partialState
:
S
,
callback
:
(
)
->
Unit
=
definedExternally
)
(
source
)
fun
setState
(
transformState
:
(
S
)
->
S
,
callback
:
(
)
->
Unit
=
definedExternally
)
(
source
)