Skip to main content

foundation-layout.getfactory

Home > @genesislcap/foundation-layout > getFactory

getFactory() function​

Retrieves a factory function by its key.

Signature:

export declare function getFactory(key: string): ComponentFactory | undefined;

Parameters​

Parameter

Type

Description

key

string

The unique identifier for the factory.

Returns:

ComponentFactory | undefined

The factory function, or undefined if not found.