Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/react-native-monorepo-example. An example of a Yarn Berry monorepo with workspace and Re
Something went wrong. Try again.
1234567891011import { useContext } from "react";import { ThemeContext } from "styled-components/native";import { light } from "../constants";import { useDimensions } from "./use-dimentions";
export const useTheme = () => { const themeContext = useContext(ThemeContext) as typeof light & ReturnType<typeof useDimensions>; return themeContext;};