MCPcopy
hub / github.com/system-ui/theme-ui / __ThemeUIInternalBaseThemeProvider

Function __ThemeUIInternalBaseThemeProvider

packages/core/src/index.ts:130–141  ·  view source on GitHub ↗
({
  context,
  children,
}: __ThemeUIInternalBaseThemeProviderProps)

Source from the content-addressed store, hash-verified

128 * @internal
129 */
130export const __ThemeUIInternalBaseThemeProvider = ({
131 context,
132 children,
133}: __ThemeUIInternalBaseThemeProviderProps) =>
134 jsx(
135 EmotionContext.Provider,
136 { value: context.theme },
137 jsx(__ThemeUIContext.Provider, {
138 value: context,
139 children,
140 })
141 )
142
143export interface ThemeProviderProps {
144 theme: Theme | ((outerTheme: Theme) => Theme)

Callers

nothing calls this directly

Calls 1

jsxFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…