Home > AI > Frontend > react-icons >

icons

Step 1: install

npm i react-icons

Step 2: Example usage

import React from 'react'
import {Col} from 'react-bootstrap'
import {FcTwoSmartphones} from 'react-icons/fc'

export default function ServiceItem(props) {
    return (
        <Col>
            <a href="" class="homepage_products_item" target="_blank" rel="noopener noreferrer">
                <div>
                    <FcTwoSmartphones />
                    <strong>{props.title}</strong>
                    <div>{props.des}</div>
                </div>
                <span>Consult</span>
            </a>
        </Col>
        
    )
}
Related posts:

Leave a Reply