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

InternalPlasmicComponentLoader.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