src/components/Main/About/AboutList.tsx
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;