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

Method render

src/components/Portal/Portal.tsx:48–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 static Host = PortalHost;
47
48 render() {
49 const { children, theme } = this.props;
50
51 return (
52 <SettingsConsumer>
53 {(settings) => (
54 <PortalContext.Consumer>
55 {(manager) => (
56 <PortalConsumer manager={manager as PortalMethods}>
57 <SettingsProvider value={settings}>
58 <ThemeProvider theme={theme}>{children}</ThemeProvider>
59 </SettingsProvider>
60 </PortalConsumer>
61 )}
62 </PortalContext.Consumer>
63 )}
64 </SettingsConsumer>
65 );
66 }
67}
68
69export default withInternalTheme(Portal);

Callers 1

MaterialBottomTabViewFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected