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

Function component

packages/mdx/src/wrapComponentsWithThemeStyles.tsx:10–11  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

8 key: string
9): ThemedComponent<string> {
10 const component: ThemedComponent<string> = (props) =>
11 jsx(value, { ...props, css: themed(key) })
12
13 component.displayName = "MdxComponents('" + key + "')"
14 return component

Callers

nothing calls this directly

Calls 2

jsxFunction · 0.90
themedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…