File size: 839 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import { Link } from 'react-router-dom';
import { Col } from 'react-bootstrap';
// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
// import { faAngleDoubleRight } from '@fortawesome/free-solid-svg-icons';
import { scrollUP } from '../../Shared/ScrollTop/ScrollTop';

const FooterCol = (props) => {
    return (
        <Col md={6} lg={3} className="footerLink">
            <h5>{props.title? props.title : ''}</h5>
            {
                props.menuItems?.map(({name, id}) => <Link to="/" onClick={scrollUP} key={id}><li>
                    {/* <FontAwesomeIcon icon={faAngleDoubleRight} 
                className="footArrowIcon"/> */}
                 {name}</li></Link>)
            }
            {props.children && props.children}
        </Col>
    );
};

export default FooterCol;