question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support FontAwesome5 icons

See original GitHub issue

Issue Description

The set FontAwesome5 from react-native-vector-icons is not available in NativeBase

native-base version

  • native-base : v2.8.1

Expected behaviour

Renders the pen-fancy icon from FontAwesome5

Actual behaviour

FontAwesome5 is not recognized :

Warning: Failed prop type: Invalid prop `type` of value `FontAwesome5` supplied to `IconNB`, expected one of ["Entypo","EvilIcons","Feather","FontAwesome","Foundation","Ionicons","MaterialCommunityIcons","MaterialIcons","Octicons","SimpleLineIcons","Zocial"]

Steps to reproduce

        <Button>
            <Icon  name='pen-fancy' type="FontAwesome5" />
        </Button>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

15reactions
viktor-nikolaevcommented, Dec 19, 2018

@SupriyaKalghatgi this breaks work with CRNA since @expo/vector-icons does not contain FontAwesome5.

Here is what I have now:

Unable to resolve "@expo/vector-icons/FontAwesome5" from "node_modules\native-base\dist\src\basic\IconNB.js"

8reactions
viktor-nikolaevcommented, Dec 20, 2018

@farisT use prev version of native-base (2.8.2 afair)

Read more comments on GitHub >

github_iconTop Results From Across the Web

An icon named “support”?! - Font Awesome
Upload your own support icon to a kit and easily use it just like it an official Font Awesome icon! ... Here are...
Read more >
Font Awesome 5 Intro - W3Schools
Font Awesome 5. Font Awesome 5 has a PRO edition with 7842 icons, and a FREE edition with 1588 icons. This tutorial will...
Read more >
The fontawesome5 package* - Font Awesome (The font)
This package provides LATEX support for the Font Awesome 5 icons. To use Font Awesome 5 icons in your document, include the package...
Read more >
Migration to Font Awesome 5 - Elementor
Tip: Go to Elementor > Settings > Advanced and make sure Load Font Awesome 4 Support is set to Yes so that your...
Read more >
Font Awesome 5 icons not loading - WordPress.org
I recommend asking at https://wordpress.org/support/plugin/elementor/ so the plugin's developers and support community can help you with this. mrtom414.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found