UNPKG

773 BTypeScriptView Raw
1/// <reference types="react" />
2export declare const ThemeProvider: import("react").ComponentType<{
3 theme?: ReactNativePaper.Theme | undefined;
4}>, withTheme: <Props extends {
5 theme: ReactNativePaper.Theme;
6}, C>(WrappedComponent: import("react").ComponentType<Props> & C) => import("react").ComponentType<import("@callstack/react-theme-provider").$Without<Props, "theme"> & {
7 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
8}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<Props> & C, {}>, useTheme: (overrides?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined) => ReactNativePaper.Theme;