“Use ícones no React” Respostas de código

React ícones

yarn add react-icons
# or
npm install react-icons --save
Hastings Keith

React ícones

npm install react-icons --save
Grieving Gharial

React ícones

yarn add react-icons

npm install react-icons --save
Lucas Juan

React ícones

// ###### Installation ######
   npm install react-icons --save

// ###### Usage ######
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
  render() {
    return <h3> Lets go for a <FaBeer />? </h3>
  }
}
Mehedi Islam Ripon

Ícone de reação

import { IconContext } from "react-icons";

<IconContext.Provider value={{ color: "blue", className: "global-class-name" }}>
  <div>
    <FaFolder />
  </div>
</IconContext.Provider>
Rasel Hossain

Use ícones no React

import { FaBeer } from 'react-icons/fa';

class Question extends React.Component {
    render() {
        return <h3> Lets go for a <FaBeer />? </h3>
    }
}
Adorable Armadillo

Respostas semelhantes a “Use ícones no React”

Procure respostas de código populares por idioma

Procurar outros idiomas de código