"use strict";

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

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

var _Tag = require("../Tag/Tag");

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

var ProcessStep = function ProcessStep(_ref) {
  var heading = _ref.heading,
      body = _ref.body,
      _ref$isNew = _ref.isNew,
      isNew = _ref$isNew === void 0 ? false : _ref$isNew;
  return /*#__PURE__*/_react.default.createElement("li", {
    className: "process-step"
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: "display-inline-block"
  }, heading), isNew ? /*#__PURE__*/_react.default.createElement(_Tag.Tag, {
    text: "NEW",
    color: "theme-color-primary"
  }) : undefined, /*#__PURE__*/_react.default.createElement("br", null), body ? /*#__PURE__*/_react.default.createElement("span", {
    className: "usa-hint text-italic"
  }, " ", body) : undefined);
};

exports.ProcessStep = ProcessStep;