Using Font Awesome along Prime Icons

UI Components for React
Post Reply
mfilteau
Posts: 1
Joined: 07 Jun 2020, 23:09

07 Jun 2020, 23:17

Hi all,

Sorry if this is a newbie question. I need icons not provided in the Prime Icons set. I've found what I need in Font Awesome 4.7.0.

I've added the css reference in my index.html

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ ... me.min.css">

In App.js, when I create the side menu, I specify the icon I want:

createMenu() {
this.menu = [
{
label: 'Test',
icon: 'fa fa-puzzle',
to: '/test'
},

What am I missing?

Thanks in advance!

-Martin

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests