"use strict";

exports.__esModule = true;
exports.doc = void 0;

var _reactDesc = require("react-desc");

var doc = function doc(Image) {
  var DocumentedImage = (0, _reactDesc.describe)(Image).description('An image component').usage("import { Image } from '@dragonchain-dev/dragon-kit'\n\n<Image src=\"https://images.dragonchain.com/illustration.svg\" />\n");
  DocumentedImage.propTypes = {
    tag: _reactDesc.PropTypes.string.description('Optional override of the image tag'),
    src: _reactDesc.PropTypes.string.description('Full path of image'),
    alt: _reactDesc.PropTypes.string.description('Alt tag for the image'),
    title: _reactDesc.PropTypes.string.description('Title for the image'),
    className: _reactDesc.PropTypes.string.description('Add an additional class to the image tag')
  };
  return DocumentedImage;
};

exports.doc = doc;