UNPKG

@viktorvojtek/react-native-simple-components

Version:

Collection of essential UI components based on react-native components

17 lines (16 loc) 425 B
import React from "react"; import type { ReactNode } from "react"; type Colors = { [key: string]: string; }; type Theme = { colors: Colors; fonts: string[]; }; type ThemeProviderProps = { children: ReactNode; value: Theme; }; declare const ThemeProvider: ({ children, value }: ThemeProviderProps) => React.JSX.Element; export default ThemeProvider; export declare const useTheme: () => Theme | undefined;