"use strict";

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

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

var _components = require("@looker/components");

var _runIt = require("@looker/run-it");

var _DocMethodSummary = require("../DocMethodSummary");

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

var DocStatus = _ref => {
  var {
    method
  } = _ref;
  return _react.default.createElement(_components.Tooltip, {
    content: (0, _DocMethodSummary.pickTooltipContent)(method.status)
  }, _react.default.createElement(_runIt.MethodBadge, {
    type: method.status,
    titleStatus: true
  }, method.status.toLocaleUpperCase()));
};

exports.DocStatus = DocStatus;
//# sourceMappingURL=DocStatus.js.map