import React__default from 'react';
import BetweenBox from './BetweenBox/index.js';

function InfoBox({
  title,
  titleExt,
  children,
  className = '',
  style,
  contentStyle
}) {
  return /*#__PURE__*/React__default.createElement("div", {
    className: `info-box-layout ${className}`,
    style: style
  }, (!!title || !!titleExt) && /*#__PURE__*/React__default.createElement(BetweenBox, {
    className: "info-box-title-wrapper",
    left: title,
    right: titleExt
  }), /*#__PURE__*/React__default.createElement("div", {
    className: "info-box-content-wrapper",
    style: contentStyle
  }, children));
}

export { InfoBox as I };
//# sourceMappingURL=index-4c050215.js.map
