blob: 408a18acf3f48e2f111cd5a75aeae676b10b3f2a [file] [log] [blame]
import react, { Component } from "react";
import Styles from '../styles/tilerow.module.css';
class TileRow extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className={Styles.container}>
{
react.Children.toArray(this.props.children).map((item, index) => {
return <div className={Styles.item} key={index}>{item}</div>
})
}
</div>
)
}
}
export default TileRow;