@fortawesome/free-solid-svg-icons#faSignal JavaScript Examples

The following examples show how to use @fortawesome/free-solid-svg-icons#faSignal. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.js    From Webiu with MIT License 6 votes vote down vote up
Statistics = ({ header, title, description, data, image }) => {
  return (
    <div className="statistics-component">
      {header ? (
        <div className="header-component">
          <h2>
            <FontAwesomeIcon className="icon-h2" icon={faSignal} /> {header}
          </h2>
        </div>
      ) : null}
      <Container>
        <Row>
          <Col md={6} className="stats-col">
            <h2>{title}</h2>
            <p>{description}</p>
            <Row className="stats-row">
              {data.map((data, index) => (
                <Col md={4} xs={6}>
                  <h2 className="stats-name">{data.stat}</h2>
                  <p className="stats-para">{data.name}</p>
                </Col>
              ))}
            </Row>
          </Col>
          <Col md={6}>
            <div className="stats-img-div">
              <img src={image} alt="logo" className="stats-image" />
            </div>
          </Col>
        </Row>
      </Container>
    </div>
  )
}