"use strict";

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

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

var _icon = _interopRequireDefault(require("../util/icon"));

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

const FieldTripStatusIcon = ({
  ok
}) => ok ? /*#__PURE__*/_react.default.createElement(_icon.default, {
  className: "text-success",
  type: "check"
}) : /*#__PURE__*/_react.default.createElement(_icon.default, {
  className: "text-warning",
  type: "exclamation-circle"
});

var _default = FieldTripStatusIcon;
exports.default = _default;
module.exports = exports.default;

//# sourceMappingURL=field-trip-status-icon.js