import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import classes from '../styles/grid.module.sass' export default function Grid({ cols = 1, narrow = false, gutterBottom = true, className, children, }) { const gridClassNames = classNames(classes.root, className, { [classes.narrow]: narrow, [classes.spacing]: gutterBottom, [classes.half]: cols === 2, [classes.third]: cols === 3, [classes.quarter]: cols === 4, }) return