"use strict";

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

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

var _propTypes = require("../../utils/propTypes");

var doc = function doc(Spinner) {
  var DocumentedSpinner = (0, _reactDesc.describe)(Spinner).description('A Spinner component').usage("import { Spinner } from '@dragonchain-dev/dragon-kit'\n      \n<Spinner color=\"red\" />");
  DocumentedSpinner.propTypes = {
    color: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Spinner').colors).description('Spinner background color'),
    children: _reactDesc.PropTypes.node.description('Spinner body').isRequired
  };
  return DocumentedSpinner;
};

exports.doc = doc;