MCPcopy Index your code
hub / github.com/callstack/react-theme-provider / Header

Function Header

examples/web/src/Header.js:9–13  ·  view source on GitHub ↗
({ theme }: { theme: Theme })

Source from the content-addressed store, hash-verified

7import type { Theme } from './theming';
8
9const Header = ({ theme }: { theme: Theme }) => (
10 <Container textColor={theme.textColor} background={theme.backgroundColor}>
11 @callstack/react-theme-provider
12 </Container>
13);
14
15const Container = styled.div`
16 box-sizing: border-box;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…