jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
28 lines (22 loc) • 911 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var tslib_es6 = require('../../../../../node_modules/tslib/tslib.es6.js');
var React = require('react');
var React__default = _interopDefault(React);
var styles = require('./styles.js');
/**
* @file index.tsx
*
* @fileoverview A component that places the children in the page frame. With a max width.
*/
/**
* Renders content with a max width on the center of the page. Useful for placing
* main content on a normal page.
*/
const Main = (_a) => {
var { size = 'large', children } = _a, props = tslib_es6.__rest(_a, ["size", "children"]);
return (React__default.createElement(styles.Main, Object.assign({ size: size }, props), children));
};
exports.Main = Main;
exports.default = Main;