import _extends from "@babel/runtime/helpers/extends";
// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
import React from 'react';
import Button from './Button';
export const Basic = args => /*#__PURE__*/React.createElement(Button, args);
Basic.args = {
  children: 'Click me'
};
export const Ghost = args => /*#__PURE__*/React.createElement(Button, _extends({
  ghost: true
}, args));
Ghost.args = {
  icon: 'gear'
};
export const Intents = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Basic, _extends({
  intent: "info"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  intent: "success"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  intent: "warning"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  intent: "danger"
}, Basic.args)));
export const Arrows = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "forward"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "forward",
  size: "lg"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "forward",
  icon: "cpu"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "forward",
  intent: "danger"
}, Basic.args))), /*#__PURE__*/React.createElement("p", null, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "backward"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "backward",
  size: "lg"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "backward",
  icon: "cpu"
}, Basic.args)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  arrow: "backward",
  intent: "danger"
}, Basic.args))));
export const States = () => [{
  intent: 'primary'
}, {
  disabled: true
}, {
  ghost: true
}].map((props, index) => /*#__PURE__*/React.createElement("p", {
  key: index.toString()
}, /*#__PURE__*/React.createElement(Basic, _extends({
  state: "hovered"
}, Basic.args, props)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  state: "active"
}, Basic.args, props)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  state: "loading"
}, Basic.args, props)), ` `, /*#__PURE__*/React.createElement(Basic, _extends({
  state: "focused"
}, Basic.args, props))));