'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var React = require('react');
var React__default = _interopDefault(React);
var Row = _interopDefault(require('react-bootstrap/Row'));
var Col = _interopDefault(require('react-bootstrap/Col'));

var Column1 = function Column1(props) {
  var title = props.title;

  return React__default.createElement(
    'section',
    null,
    React__default.createElement(
      Row,
      { className: 'justify-content-md-center' },
      React__default.createElement(
        Col,
        { className: 'middleCol', style: { marginTop: !title && '10px' } },
        title && React__default.createElement(
          'h1',
          null,
          title
        ),
        props.children
      )
    )
  );
};

exports.Column1 = Column1;
exports.default = Column1;
