'use strict';

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

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Page = _styledComponents2.default.article.withConfig({ displayName: 'Page' }).withConfig({
  displayName: 'Page'
})(['flex:1;display:flex;flex-direction:column;align-items:stretch;width:100%;min-height:0;& > *:last-child{flex:1 1 auto;}']);

Page.propTypes = {
  /**
   * Adds an id to the element.
   */
  id: _propTypes2.default.string,
  /**
   * Adds a class name to the element.
   */
  className: _propTypes2.default.string
};

Page.defaultProps = {
  id: null,
  className: null
};

/**
 * @component
 */
exports.default = Page;