Options
All
  • Public
  • Public/Protected
  • All
Menu

Module context

Index

Functions

Functions

initContext

  • initContext<C, A>(options?: IContextOptions<C, A>): { Consumer: Consumer<[C, Dispatch<A>]>; Context: Context<[C, Dispatch<A>]>; Provider: (__namedParameters: IProvider<C, A>) => Element }
  • Type parameters

    • C: Record<string, any>

    • A: IAction = any

    Parameters

    Returns { Consumer: Consumer<[C, Dispatch<A>]>; Context: Context<[C, Dispatch<A>]>; Provider: (__namedParameters: IProvider<C, A>) => Element }

    • Consumer: Consumer<[C, Dispatch<A>]>
    • Context: Context<[C, Dispatch<A>]>
    • Provider: (__namedParameters: IProvider<C, A>) => Element
        • (__namedParameters: IProvider<C, A>): Element
        • Parameters

          Returns Element

Generated using TypeDoc