TChildrenBaseProps
export
interface
TChildrenBaseProps
{
 Â
disableMarginCollapsing
?
:
boolean
;
 Â
propsForChildren
?
:
Partial
<
PropsFromParent
>
;
 Â
renderChild
?
:
(
props
:
TChildProps
)
=>
ReactNode
;
}
Defined in packages/render-html/src/shared-types.ts
Common props for TChildren rendering logic.
#
FieldsdisableMarginCollapsing
#
optional
disableMarginCollapsing
?
:
boolean
;
When ​enableExperimentalMarginCollapsing
is
enabled, this prop will be true by default. But you can opt-out when
rendering children.
propsForChildren
#
optional
Props that will be passed to children renderers via
​propsFromParent
.
renderChild
#
optional
A React render function to render and wrap individual children.