import { PixelRatio } from 'react-native'; export const usePixelRatio = () => { return { fontScale: PixelRatio.getFontScale(), }; };