Home > @plasmicapp/loader-react > PlasmicComponentLoader > registerGlobalContext

PlasmicComponentLoader.registerGlobalContext() method

Signature:

registerGlobalContext<T extends React.ComponentType<any>>(context: T, meta: GlobalContextMeta<React.ComponentProps<T>>): void;

Parameters

Parameter Type Description
context T
meta GlobalContextMeta<React.ComponentProps<T>>

Returns:

void