@lynx-js/react / createContext
Function: createContext()
Lets you create a Context that components can provide or read.
Type Parameters
Parameters
Returns
Context<T>
See
Example
Defined in
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:775