ComponentContextFactory: <T extends object = { [key: string]: any }>(
    options?: ComponentContextOptions,
) => ComponentContext<T>

A ComponentContext factory is injected into each component. Through this factory, a ComponentContext instance can be constructed.

Type declaration