xxxxxxxxxx
<h1>Example heading <span class="badge bg-secondary">New</span></h1>
<h2>Example heading <span class="badge bg-secondary">New</span></h2>
<h3>Example heading <span class="badge bg-secondary">New</span></h3>
<h4>Example heading <span class="badge bg-secondary">New</span></h4>
<h5>Example heading <span class="badge bg-secondary">New</span></h5>
<h6>Example heading <span class="badge bg-secondary">New Esat yıldız</span></h6>
react icon
xxxxxxxxxx
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}
xxxxxxxxxx
// ###### 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>
}
}
xxxxxxxxxx
Installation (for standard modern project)
npm install react-icons --save
yarn add react-icons --save
// or
yarn add react-icons
Installation (for meteorjs, gatsbyjs, etc)
npm install @react-icons/all-files --save
xxxxxxxxxx
npm install react-icons --save
import { FaBeer } from 'react-icons/fa';
<FaBeer />