"use strict";var _react=_interopRequireDefault(require("react")),_react2=require("@storybook/react"),_addonInfo=require("@storybook/addon-info"),_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:!0,compactMode:!0}),_react.default.createElement("label",{className:"label"},"Without background"),_react.default.createElement(_index.default,{title:"Submit",withoutBackground:!0,applyBorderRadius:!0}),_react.default.createElement("label",{className:"label"},"Button with borderRadius"),_react.default.createElement(_index.default,{title:"Submit",applyBorderRadius:!0}),_react.default.createElement("label",{className:"label"},"Disabled Button"),_react.default.createElement(_index.default,{title:"Submit",applyBorderRadius:!0,isDisabled:!0}),_react.default.createElement("label",{className:"label"},"Button with After Icon"),_react.default.createElement(_index.default,{title:"Submit",applyBorderRadius:!0,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:!0,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:!0,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:!0,buttonColor:"#1d99d1"}),_react.default.createElement("label",{className:"label"},"Button with height & width props"),_react.default.createElement(_index.default,{title:"Submit",applyBorderRadius:!0,width:500})))}));