Topic: Icons not displayed when using <MDBIcon> in React

falej free asked 4 years ago


Expected behavior Icon should be displayed when using component and should display the image according to the icon name list and type (far,fa,fas).

Actual behavior When adding the component, the icon is not displayed

NOTE: I'm using latest MDB Version 4.15.0, but it is not displayed as an option in the dropdown menu of the support issue form.

Resources (screenshots, code snippets etc.) Below some code examples I'm using: <MDBIcon far icon="address-card" /> <MDBIcon icon="address-book" />


Konrad Stępień staff answered 4 years ago


Hi. I tested your code and in my project it is all fine. Check did you import MBDIcon or you done a typo?

Can you send me a more code?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.13.0
  • Device: Mac
  • Browser: Chrome
  • OS: Sierra
  • Provided sample code: Yes
  • Provided link: No