import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "title"];
import React from 'react';
import Box from '../box';
import { Heading4 } from '../typography';

var LabelValuePairGroup = function LabelValuePairGroup(_ref) {
  var children = _ref.children,
      title = _ref.title,
      others = _objectWithoutProperties(_ref, _excluded);

  return /*#__PURE__*/React.createElement(Box, others, /*#__PURE__*/React.createElement(Heading4, {
    color: "neutral",
    marginBottom: 2
  }, title), children);
};

export default LabelValuePairGroup;