MCPcopy Create free account
hub / github.com/callstack/react-theme-provider / App

Function App

typings/__tests__/index.test.tsx:49–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47const ThemedTitle = withTheme(TitleComponent);
48
49const App = () => (
50 <ThemeProvider theme={themes.default}>
51 <ThemedTitle
52 title="React Theme Provider"
53 theme={{ primaryColor: 'pink' }}
54 />
55 <ThemedTitle title="Second title" />
56 </ThemeProvider>
57);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected