xxxxxxxxxx
import { FaBeer } from "react-icons/fa";
function Question() {
return (
<h3>
Lets go for a <FaBeer />?
</h3>
);
}
xxxxxxxxxx
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
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
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
import { FaHome, FaUser, FaEnvelope } from 'react-icons/fa';
const MyComponent = () => {
return (
<div>
<FaHome /> {/* Example of using the FaHome icon */}
<FaUser /> {/* Example of using the FaUser icon */}
<FaEnvelope /> {/* Example of using the FaEnvelope icon */}
</div>
);
}
export default MyComponent;