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

Function FakeChild

src/core/__tests__/PaperProvider.test.tsx:97–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95};
96
97const FakeChild = () => {
98 const theme = useTheme();
99 return <View testID="provider-child-view" theme={theme} />;
100};
101
102const createProvider = (theme?: ThemeProp) => {
103 return (

Callers

nothing calls this directly

Calls 1

useThemeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…