TChildProps
export
interface
TChildProps
{
 Â
childElement
:
ReactElement
<
any
,
string
|
JSXElementConstructor
<
any
>
>
;
 Â
childTnode
:
TNode
;
 Â
index
:
number
;
 Â
key
:
string
|
number
;
 Â
propsFromParent
:
PropsFromParent
;
}
Defined in packages/render-html/src/shared-types.ts
Props to render a child.
#
FieldschildElement
#
required
childElement
:
ReactElement
<
any
,
string
|
JSXElementConstructor
<
any
>
>
;
The child element.
childTnode
#
required
The child associated ​TNode
.
index
#
required
index
:
number
;
The position relative to parent.
key
#
required
key
:
string
|
number
;
The React key
.
propsFromParent
#
required
Props that have been set via
​propsForChildren
.