expo / google-fonts

Use any of the 1000+ fonts (and their variants) from fonts.google.com in your Expo app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot import font JetBrains Mono

freudarian opened this issue · comments

Installing: expo install @expo-google-fonts/JetBrains+Mono
results in "undefined": "@expo-google-fonts/JetBrains+Mono" in the package.json
Other fonts without spaces in the name so far have had no issues, this is what I get there:
"@expo-google-fonts/karla": "^0.2.3",

Google import js uses + in url, this was the only special char that installed 'something' in the bash. other special char did not work.
trying to import like this in my app.tsx:
import { /requested styles/ } from "@expo-google-fonts/jetbrains+mono"
again, no other special char works either. I get following error:
Cannot find module '@expo-google-fonts/jetbrains+mono' or its corresponding type declarations.