import React, { FunctionComponent } from 'react';
import { GridProps } from './types.d';

export const Grid: FunctionComponent<GridProps> = ({ children, className, id, style }): React.ReactElement => (
  <div className={`grid ${className ?? ''}`} id={id} style={style}>
    {children}
  </div>
);
