Skip to content

Commit

Permalink
Add @expo/vector-icons trouble shooting (#1566)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Arvidsson <joel@oblador.se>
  • Loading branch information
johnf and oblador committed May 1, 2024
1 parent 99c9c8e commit cb350cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -830,6 +830,10 @@ You probably didn't update the font files linked to your native project after up

Sometimes vendors decides to remove some icons from newer releases, this has nothing to do with this package. If you depend on an older version of a font you can add it as a [custom font](#custom-fonts).

#### Unable to resolve module @expo/vector-icons/XXXFont

You are probably trying to use `@expo/vector-icons` and `react-native-vector-icons` at the same time. The expo package aliases this one and will take precedence. Use only one of these libraries in your project.

#### Web-pack complains about unsupported JSX Syntax

You will need to add JSX support for `react-native-vector-icons` to your transpiler configuration e.g. babel.
Expand Down

0 comments on commit cb350cc

Please sign in to comment.