Skip to content

registerLayout

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/pme-core/src/tools/layouts/registry.ts

Register a layout renderer for a section type.

Signature

ts
function registerLayout(sectionType: string, layoutKey: string, renderer: SectionRenderer): void

Parameters

NameType
sectionTypestring
layoutKeystring
rendererSectionRenderer

Returns: void

Was this page helpful?

Download as PDF