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

Function withInternalTheme

src/core/theming.tsx:35–37  ·  view source on GitHub ↗
(
  WrappedComponent: ComponentType<Props & { theme: InternalTheme }> & C
)

Source from the content-addressed store, hash-verified

33) => useAppTheme<InternalTheme>(themeOverrides);
34
35export const withInternalTheme = <Props extends { theme: InternalTheme }, C>(
36 WrappedComponent: ComponentType<Props & { theme: InternalTheme }> & C
37) => withTheme<Props, C>(WrappedComponent);
38
39export const defaultThemesByVersion = {
40 2: {

Callers 1

Portal.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…