// Module ID: 4751 // Function ID: 4752 // Name: getFontScale // Dependencies: [19, 1495, 1497, 2] // Exports: getFontScale, useFontScale // Module 4751 (getFontScale) import noop from "noop"; import getDimensionsStoreStateForEntry from "getDimensionsStoreStateForEntry"; const require = arg1; const result = require("context").fileFinishedImporting("modules/screen/native/useFontScale.tsx"); export const getFontScale = function getFontScale() { let str = arg0; if (arg0 === undefined) { str = "main"; } return state.getState().byAppEntry[str].fontScale; }; export const useFontScale = function useFontScale() { appEntryKey = appEntryKey(1497).useAppEntryKey(); const items = [appEntryKey]; return state(React.useCallback((arg0) => arg0.byAppEntry[appEntryKey].fontScale, items)); };