import React from 'react';
import { Tooltip } from '@looker/components';
import { describeParam } from '@looker/sdk-codegen';
export var DocParam = _ref => {
  var {
    parameter
  } = _ref;
  return React.createElement(Tooltip, {
    content: "".concat(parameter.type.name, " ").concat(describeParam(parameter))
  }, React.createElement("span", null, parameter.required ? parameter.name : "[".concat(parameter.name, "]")));
};
//# sourceMappingURL=DocParam.js.map