MCPcopy Create free account
hub / github.com/callstack/react-native-paper / ThemedBannerExample

Function ThemedBannerExample

docs/src/components/BannerExample.tsx:167–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165};
166
167const ThemedBannerExample = () => {
168 const isDarkTheme = useColorMode().colorMode === 'dark';
169 return (
170 <PaperProvider theme={isDarkTheme ? DarkTheme : DefaultTheme}>
171 <BannerExample />
172 </PaperProvider>
173 );
174};
175
176export default function ClientSideBannerExample() {
177 return (

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…