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