"use strict";

var _react = _interopRequireDefault(require("react"));

var _react2 = require("@storybook/react");

var _addonInfo = require("@storybook/addon-info");

var _index = _interopRequireDefault(require("./index"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _react2.storiesOf)('Button', module).add('Default', (0, _addonInfo.withInfo)('Default')(function () {
  return _react.default.createElement("div", {
    style: {
      padding: 10
    }
  }, _react.default.createElement("div", {
    style: {
      width: 400
    }
  }, _react.default.createElement("label", {
    className: "label"
  }, "Default"), _react.default.createElement(_index.default, {
    title: "Submit"
  }), _react.default.createElement("label", {
    className: "label"
  }, "Compact Mode"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true,
    compactMode: true
  }), _react.default.createElement("label", {
    className: "label"
  }, "Without background"), _react.default.createElement(_index.default, {
    title: "Submit",
    withoutBackground: true,
    applyBorderRadius: true
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with borderRadius"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true
  }), _react.default.createElement("label", {
    className: "label"
  }, "Disabled Button"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true,
    isDisabled: true
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with After Icon"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true,
    iconAfter: _react.default.createElement("i", {
      className: "fa fa-arrow-right"
    })
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with Before Icon"), _react.default.createElement(_index.default, {
    title: "Add",
    applyBorderRadius: true,
    iconBefore: _react.default.createElement("i", {
      className: "fa fa-plus"
    })
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with Spinner"), _react.default.createElement(_index.default, {
    title: "Submitting",
    applyBorderRadius: true,
    iconAfter: _react.default.createElement("i", {
      className: "fa fa-pulse fa-spinner"
    })
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with different color"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true,
    buttonColor: '#1d99d1'
  }), _react.default.createElement("label", {
    className: "label"
  }, "Button with height & width props"), _react.default.createElement(_index.default, {
    title: "Submit",
    applyBorderRadius: true,
    width: 500
  })));
}));