import React from 'react';
import { Tooltip } from '@looker/components';
import { MethodBadge } from '@looker/run-it';
import { pickTooltipContent } from '../DocMethodSummary';
export var DocStatus = _ref => {
  var {
    method
  } = _ref;
  return React.createElement(Tooltip, {
    content: pickTooltipContent(method.status)
  }, React.createElement(MethodBadge, {
    type: method.status,
    titleStatus: true
  }, method.status.toLocaleUpperCase()));
};
//# sourceMappingURL=DocStatus.js.map