0

I am using React font-awesome, by importing the icons objects.

I want to add a notification icon.

This is working good:

     import {faBell} from '@fortawesome/free-solid-svg-icons'

....
                    <FontAwesomeIcon  icon={faBell}  />

But when I am trying to get the equivalent of this (Bell-on) I cannot import it, and when I'm looking on the package's library it doesn't appear there.

I have tried to change some methods of using the package, but nothing helped.

Am I missing something, maybe I need to add some property for get this "on" view, or this font isn't available for ReactFontAwesome?

lingar
  • 477
  • 1
  • 7
  • 25
  • 1
    Correct behavior if you are using the free version of FA. As you can check [here](https://fontawesome.com/v5.15/icons?d=gallery&p=2&q=bell) not all the icons are available for free – Lelio Faieta Dec 09 '21 at 10:48
  • Thanks, I have solved it by npm install --save @fortawesome/free-regular-svg-icons – lingar Dec 12 '21 at 08:16

0 Answers0