1 | import { oneOf, node, string, bool } from 'prop-types';
|
2 | import { breakpointPropType } from './types/props.js';
|
3 | import { c as _objectWithoutPropertiesLoose, g as _extends } from './chunk-1f79df9b.js';
|
4 | import { createElement } from 'react';
|
5 | import _Container from './Container/styled.js';
|
6 |
|
7 | var Container = function Container(_ref) {
|
8 | var align = _ref.align,
|
9 | children = _ref.children,
|
10 | className = _ref.className,
|
11 | props = _objectWithoutPropertiesLoose(_ref, ["align", "children", "className"]);
|
12 |
|
13 | return createElement(_Container, _extends({
|
14 | className: className,
|
15 | align: align
|
16 | }, props), children);
|
17 | };
|
18 | var containerPropTypes = {
|
19 | align: oneOf(['left', 'right', 'center']),
|
20 | breakpoint: breakpointPropType,
|
21 | children: node.isRequired,
|
22 | className: string,
|
23 | isFluid: bool,
|
24 | isLayout: bool
|
25 | };
|
26 | Container.propTypes = containerPropTypes;
|
27 | var containerDefaultProps = {
|
28 | align: 'center',
|
29 | breakpoint: undefined,
|
30 | className: undefined,
|
31 | isFluid: false,
|
32 | isLayout: false
|
33 | };
|
34 | Container.defaultProps = containerDefaultProps;
|
35 | var C = Container;
|
36 |
|
37 | export { C as a, containerPropTypes as b, containerDefaultProps as c };
|