Skip to content

getLayout

reference
1 min readUpdated

Kind: Function

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

Get a layout renderer. Falls back to the first registered layout (the default) if the key is not found.

Signature

ts
function getLayout(sectionType: string, layoutKey: string): SectionRenderer | undefined

Parameters

NameType
sectionTypestring
layoutKeystring

Returns: SectionRenderer | undefined

Was this page helpful?

Download as PDF