import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from 'react-bootstrap';

function FullWidthRow({ children }) {
  return (
    <Row>
      <Col sm={ 8 } smOffset={ 2 } xs={ 12 }>
        { children }
      </Col>
    </Row>
  );
}

FullWidthRow.displayName = 'FullWidthRow';
FullWidthRow.propTypes = {
  children: PropTypes.any
};

export default FullWidthRow;
