import { describe, PropTypes } from 'react-desc';
import { propTypes } from '../../utils/propTypes';
export var doc = function doc(Actions) {
  var DocumentedActions = describe(Actions).description('A Actions component').usage("import { Actions } from '@dragonchain-dev/dragon-kit'\n      \n<Actions actions={actions} tag={Link} />");
  DocumentedActions.propTypes = {
    tag: PropTypes.string.description('Default tag for all buttons'),
    actions: PropTypes.arrayOf(PropTypes.shape({
      tag: PropTypes.string.description('HTML tag').defaultValue('a'),
      className: PropTypes.string.description('Override all button styles'),
      color: PropTypes.oneOf(propTypes('Button').colors).description('Button color').defaultValue('blue'),
      hover: PropTypes.oneOf(propTypes('Button').hover).description('Button hover color').defaultValue('blue-dark'),
      type: PropTypes.oneOf(propTypes('Button').type).description('The type of button'),
      url: PropTypes.string.description('URL'),
      blank: PropTypes.bool.description('Open url in new window'),
      disabled: PropTypes.bool.description('Disable the button'),
      small: PropTypes.bool.description('Make the button smaller'),
      children: PropTypes.node.description('Button body').isRequired
    })).description('An array of buttons').isRequired
  };
  return DocumentedActions;
};