"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.IncidentDetailsRow = void 0;

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _clsx = _interopRequireDefault(require("clsx"));

var _jsxRuntime = require("react/jsx-runtime");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var IncidentDetailsRow = function IncidentDetailsRow(_ref) {
  var title = _ref.title,
      value = _ref.value,
      className = _ref.className;
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
    className: (0, _clsx.default)("grid grid-cols-1-to-2 gap-6 items-center", className),
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
      children: /*#__PURE__*/(0, _jsxRuntime.jsx)("h6", {
        className: "text-dark-gray text-sm font-medium",
        children: title
      })
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
      children: value
    })]
  });
};

exports.IncidentDetailsRow = IncidentDetailsRow;
IncidentDetailsRow.propTypes = {
  title: _propTypes.default.string.isRequired
};