@aomi/react-native-components
Version:
React Native Components
11 lines (10 loc) • 368 B
TypeScript
/// <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;