MCPcopy
hub / github.com/callstack/react-native-paper / useInternalTheme

Function useInternalTheme

src/core/theming.tsx:31–33  ·  view source on GitHub ↗
(
  themeOverrides: $DeepPartial<InternalTheme> | undefined
)

Source from the content-addressed store, hash-verified

29}
30
31export const useInternalTheme = (
32 themeOverrides: $DeepPartial<InternalTheme> | undefined
33) => useAppTheme<InternalTheme>(themeOverrides);
34
35export const withInternalTheme = <Props extends { theme: InternalTheme }, C>(
36 WrappedComponent: ComponentType<Props & { theme: InternalTheme }> & C

Callers 15

ActivityIndicatorFunction · 0.90
ModalFunction · 0.90
IconFunction · 0.90
SnackbarFunction · 0.90
Surface.tsxFile · 0.90
CrossFadeIconFunction · 0.90
ProgressBarFunction · 0.90
Searchbar.tsxFile · 0.90
DividerFunction · 0.90
BadgeFunction · 0.90
BannerFunction · 0.90
ListIconFunction · 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…