HeaderComponent
Callable
Parameters
props: VisualDataBlock<HeaderBlock>
VisualDataBlock object. See HeaderBlock to learn the type of data this component receives.
Returns Element
VisualDataBlock object. See HeaderBlock to learn the type of data this component receives.
VisualContent renderer component that renders
header
type blocks as HTML heading elements, like<h1>
,<h2>
, and so on.See the guide page on the VisualContent component to learn how to customize block renderer components like this one.