UNPKG

@aomi/react-native-components

Version:
11 lines (10 loc) 368 B
/// <reference types="react" /> /** * This component takes a `theme` prop. * It makes the `theme` available down the React tree thanks to React context. * This component should preferably be used at **the root of your component tree**. */ export declare function ThemeProvider({ children, theme: localTheme }: { children: any; theme: any; }): JSX.Element;