blob: 2617949419d2728e9887dee1c471c6652e1e5840 [file] [log] [blame]
pineafana5ce9102021-09-02 17:21:31 +01001import { Component } from "react";
2import Styles from '../styles/autospacing.module.css';
3
4class CardRow extends Component {
5 constructor(props) {
6 super(props);
7 }
8
9
10 render() {
11 return (
12 <div className={Styles.container}>
13 {
14 this.props.elements.map((item, index) => {
15 return <div className={Styles.item} key={index}>{item}</div>
16 })
17 }
18 </div>
19 )
20 }
21}
22
23export default CardRow;