'use strict';

var clsx = require('clsx');
var jsxRuntime = require('react/jsx-runtime');

const Section = ({
  as: Element = 'div',
  children,
  className,
  withHorizontalPadding = false
}) => {
  return /*#__PURE__*/jsxRuntime.jsx(Element, {
    className: clsx.clsx('np-section', className, {
      'np-section--with-horizontal-padding': withHorizontalPadding
    }),
    children: children
  });
};

module.exports = Section;
//# sourceMappingURL=Section.js.map
