gwcuva/gwc-website

View on GitHub
src/components/Main/About/AboutList.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { Col } from 'react-bootstrap';

interface Props {
  header: string;
  items: string[];
}

function AboutList(props: Props) {
  return (
    <Col xs={6} className="mb-4">
      <h3 className="text-orange">{props.header}</h3>
      {props.items.map((item) => <p className="text-peacock mb-0"># {item}</p>)}
    </Col>
  );
}

export default AboutList;