@lynx-js/react / createContext
函数: createContext()
Lets you create a Context that components can provide or read.
类型参数
参数
返回
Context<T>
参阅
示例
定义于
.pnpm/@types+react@18.3.28/node_modules/@types/react/ts5.0/index.d.ts:783
@lynx-js/react / createContext
Lets you create a Context that components can provide or read.
Context<T>
.pnpm/@types+react@18.3.28/node_modules/@types/react/ts5.0/index.d.ts:783