"use strict";

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

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

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

var _DocPrimaryResponse = require("./DocPrimaryResponse");

var _DocParams = require("./DocParams");

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

var DocPseudo = _ref => {
  var {
    method
  } = _ref;
  var args = method.allParams;
  var resType = method.primaryResponse;
  return _react.default.createElement(_components.Flex, {
    alignItems: "flex-start"
  }, _react.default.createElement(_components.Code, {
    fontSize: "small",
    fontWeight: "normal"
  }, "".concat(method.operationId, "("), _react.default.createElement(_DocParams.DocParams, {
    parameters: args
  }), '): ', _react.default.createElement(_DocPrimaryResponse.DocPrimaryResponse, {
    response: resType
  })));
};

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