Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IProvider<T, A>

Context provider options.

Type parameters

Hierarchy

  • IProvider

Index

Properties

Optional children

children: ReactNode

Children to exposed Provider/Context to.

Optional initialState

initialState: T

The initial state to use for the context.

Optional reducer

reducer: Reducer<T, A>

The reducer used for dispatching the state.

Generated using TypeDoc