···11+import {useFonts} from 'expo-font'
22+33+/*
44+ * IMPORTANT: This is unused. Expo statically extracts these fonts.
55+ *
66+ * All used fonts MUST be configured here. Unused fonts can be commented out.
77+ *
88+ * This is used for both web fonts and native fonts.
99+ */
1010+export function DO_NOT_USE() {
1111+ return useFonts({
1212+ 'Inter-Regular': require('../../../assets/fonts/inter/Inter-Regular.otf'),
1313+ 'Inter-Italic': require('../../../assets/fonts/inter/Inter-Italic.otf'),
1414+ 'Inter-Bold': require('../../../assets/fonts/inter/Inter-SemiBold.otf'),
1515+ 'Inter-BoldItalic': require('../../../assets/fonts/inter/Inter-SemiBoldItalic.otf'),
1616+ 'Inter-Black': require('../../../assets/fonts/inter/Inter-ExtraBold.otf'),
1717+ 'Inter-BlackItalic': require('../../../assets/fonts/inter/Inter-ExtraBoldItalic.otf'),
1818+ })
1919+}
+15
src/alf/util/unusedUseFonts.ts
···11+import {useFonts} from 'expo-font'
22+33+/*
44+ * IMPORTANT: This is unused. Expo statically extracts these fonts.
55+ *
66+ * All used fonts MUST be configured here. Unused fonts can be commented out.
77+ *
88+ * This is used for both web fonts and native fonts.
99+ */
1010+export function DO_NOT_USE() {
1111+ return useFonts({
1212+ InterVariable: require('../../../assets/fonts/inter/InterVariable.ttf'),
1313+ 'InterVariable-Italic': require('../../../assets/fonts/inter/InterVariable-Italic.ttf'),
1414+ })
1515+}