RenderBlocksProps
Defined in: packages/react/src/components/RenderBlocks.tsx:35
Props for RenderBlocks.
Type Parameters
Section titled “Type Parameters”TBlock
Section titled “TBlock”TBlock extends RenderableBlock
Properties
Section titled “Properties”blocks
Section titled “blocks”blocks: readonly
TBlock[] |null|undefined
Defined in: packages/react/src/components/RenderBlocks.tsx:37
The value of a blocks() field; null/undefined renders nothing.
components
Section titled “components”components:
BlockComponents<TBlock>
Defined in: packages/react/src/components/RenderBlocks.tsx:39
Renderer per block type. A missing entry falls through to fallback.
fallback?
Section titled “fallback?”
optionalfallback?:ComponentType<BlockComponentProps<TBlock>>
Defined in: packages/react/src/components/RenderBlocks.tsx:44
Rendered for a blockType with no components entry — a document can
carry blocks a site no longer registers. Omitted → the block is skipped.