toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react
/
ComponentClass
Component
Class
external
interface
ComponentClass
<
in
P
:
Props
>
:
ComponentType
<
P
>
,
RComponentClassStatics
<
Props
,
State
,
Context
<
*
>
?
>
(
source
)
Members
Properties
context
Type
Link copied to clipboard
abstract
var
contextType
:
Context
<
*
>
?
default
Props
Link copied to clipboard
abstract
var
defaultProps
:
Props
?
display
Name
Link copied to clipboard
abstract
var
displayName
:
String
?
get
Derived
State
From
Error
Link copied to clipboard
abstract
var
getDerivedStateFromError
:
(
Throwable
)
->
State
?
?
get
Derived
State
From
Props
Link copied to clipboard
abstract
var
getDerivedStateFromProps
:
(
Props
,
State
)
->
State
?
?