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

Function createProvider

src/core/__tests__/PaperProvider.test.tsx:102–108  ·  view source on GitHub ↗
(theme?: ThemeProp)

Source from the content-addressed store, hash-verified

100};
101
102const createProvider = (theme?: ThemeProp) => {
103 return (
104 <PaperProvider theme={theme}>
105 <FakeChild />
106 </PaperProvider>
107 );
108};
109
110const ExtendedLightTheme = { ...MD3LightTheme, isV3: true } as ThemeProp;
111const ExtendedDarkTheme = { ...MD3DarkTheme, isV3: true } as ThemeProp;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…