toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-legacy
/
react
/
RElementBuilder
RElement
Builder
interface
RElementBuilder
<
out
P
:
Props
>
:
RBuilder
(
source
)
Inheritors
RElementBuilderImpl
Members
Members & Extensions
Properties
attrs
Link copied to clipboard
abstract
val
attrs
:
P
child
List
Link copied to clipboard
abstract
val
childList
:
MutableList
<
ReactNode
>
key
Link copied to clipboard
open
var
key
:
Key
?
ref
Link copied to clipboard
open
var
ref
:
Ref
<
*
>
?
Functions
attrs
Link copied to clipboard
open
fun
attrs
(
handler
:
P
.
(
)
->
Unit
)
child
Link copied to clipboard
open
fun
child
(
element
:
ReactNode
)
open
fun
<
P
:
Props
>
child
(
klazz
:
KClass
<
out
Component
<
P
,
*
>
>
,
handler
:
RHandler
<
P
>
)
open
fun
<
P
:
Props
>
child
(
type
:
ElementType
<
P
>
,
props
:
P
=
jso()
,
handler
:
RHandler
<
P
>
?
=
null
)
child
Link copied to clipboard
inline
fun
<
P
:
Props
,
C
:
Component
<
P
,
*
>
>
RBuilder
.
child
(
noinline
handler
:
RHandler
<
P
>
)
children
Link copied to clipboard
open
fun
PropsWithChildren
.
children
(
)
invoke
Link copied to clipboard
open
operator
fun
<
P
:
Props
>
ElementType
<
P
>
.
invoke
(
)
open
operator
fun
<
T
>
Consumer
<
T
>
.
invoke
(
handler
:
RBuilder
.
(
T
)
->
Unit
)
open
operator
fun
<
P
:
Props
>
ElementType
<
P
>
.
invoke
(
handler
:
RHandler
<
P
>
)
open
operator
fun
<
T
>
Provider
<
T
>
.
invoke
(
value
:
T
,
handler
:
RHandler
<
ProviderProps
<
T
>
>
)
unary
Plus
Link copied to clipboard
open
operator
fun
String
.
unaryPlus
(
)
open
operator
fun
ReactNode
.
unaryPlus
(
)