import { clsx } from 'clsx';
import { jsx } from 'react/jsx-runtime';

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

export { Section as default };
//# sourceMappingURL=Section.mjs.map
