"use strict";

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

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

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

var doc = function doc(Actions) {
  var DocumentedActions = (0, _reactDesc.describe)(Actions).description('A Actions component').usage("import { Actions } from '@dragonchain-dev/dragon-kit'\n      \n<Actions actions={actions} tag={Link} />");
  DocumentedActions.propTypes = {
    actions: _reactDesc.PropTypes.arrayOf(_reactDesc.PropTypes.shape({
      color: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Button').colors).description('Button color').defaultValue('blue'),
      hover: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Button').hover).description('Button hover color').defaultValue('blue-dark'),
      type: _reactDesc.PropTypes.oneOf((0, _propTypes.propTypes)('Button').type).description('The type of button').defaultValue('link'),
      outline: _reactDesc.PropTypes.bool.description('Remove solid fill and replace with an outline').defaultValue(false),
      to: _reactDesc.PropTypes.string.description('URL'),
      blank: _reactDesc.PropTypes.bool.description('Open url in new window').defaultValue(false),
      disabled: _reactDesc.PropTypes.bool.description('Disable the button').defaultValue(false),
      name: _reactDesc.PropTypes.node.description('Button name').isRequired
    })).description('An array of buttons').isRequired
  };
  return DocumentedActions;
};

exports.doc = doc;