"use strict";

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

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

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

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

var DocRateLimited = _ref => {
  var {
    method
  } = _ref;
  return _react.default.createElement(_react.default.Fragment, null, method.rateLimited && _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_components.Tooltip, {
    textAlign: "left",
    content: 'This endpoint is rate limited.'
  }, _react.default.createElement(_components.Code, {
    color: "palette.charcoal500"
  }, 'rate_limited'))));
};

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