'use strict';

exports.__esModule = true;

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

exports.default = function (Element) {
  var DocumentedElement = (0, _reactDesc.describe)(Element).description('A small image stamp used for avatars or image thumbnails.\n      ').usage('\n      $ npm install grommet-controls\n \n      import { ImageStamp } from \'grommet-controls\';\n\n      <ImageStamp src=\'...\' />\n    ');

  DocumentedElement.propTypes = {
    contain: _reactDesc.PropTypes.oneOf(['width', 'height']).description('Adjust width/heigh if image is not square. By default, the image is cut off square').defaultValue(null),
    round: _reactDesc.PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'full']).description('How much to round the corners of the stamp.'),
    size: _reactDesc.PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']).description('The size of the image stamp.').defaultValue('medium')
  };

  return DocumentedElement;
};