Function: createContext()
createContext<
T>(defaultValue:T):Context<T>
Lets you create a Context that components can provide or read.
Type Parameters
Parameters
Returns
Context<T>
createContext<
T>(defaultValue:T):Context<T>
Lets you create a Context that components can provide or read.
Context<T>