toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
StateInstance
State
Instance
sealed
external
interface
StateInstance
<
T
>
(
source
)
Only works inside fc
See also
Hooks and Function Components
Members
Functions
component1
Link copied to clipboard
abstract
operator
fun
component1
(
)
:
T
component2
Link copied to clipboard
abstract
operator
fun
component2
(
)
:
StateSetter
<
T
>
get
Value
Link copied to clipboard
abstract
operator
fun
getValue
(
thisRef
:
Nothing
?
,
property
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
open
inline operator
fun
setValue
(
thisRef
:
Nothing
?
,
property
:
KProperty
<
*
>
,
value
:
T
)