rn-custom-style-sheet
Version:
React Native component to select a specific value from a range of values.
11 lines (9 loc) • 389 B
text/typescript
import type { ThemeContextType } from '../../Context';
import type { GeneralScreenResolutionType } from '../../Reducer';
import { useThemeContext } from '../UseThemeContext';
export default function useGeneralScreenResolution(): GeneralScreenResolutionType {
const {
state: { generalScreenResolution },
}: ThemeContextType = useThemeContext();
return generalScreenResolution;
}