jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
21 lines (18 loc) • 662 B
JavaScript
import { __rest } from '../../../../../node_modules/tslib/tslib.es6.js';
import React__default from 'react';
import { Main as Main$1 } from './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 = __rest(_a, ["size", "children"]);
return (React__default.createElement(Main$1, Object.assign({ size: size }, props), children));
};
export default Main;
export { Main };