"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)("ToggleSwitch",module).add("Default",(0,_addonInfo.withInfo)("Default")(function(){return _react.default.createElement("div",{style:{margin:10}},_react.default.createElement("h4",null,"Default"),_react.default.createElement(_index.default,null),_react.default.createElement("h4",null,"Compact"),_react.default.createElement(_index.default,{compact:!0}),_react.default.createElement("h4",null,"With Label"),_react.default.createElement(_index.default,{label:"Two step account authentication"}),_react.default.createElement("h4",null,"Disabled"),_react.default.createElement(_index.default,{disabled:!0}),_react.default.createElement("h4",null,"Predefined value"),_react.default.createElement(_index.default,{value:!0}),_react.default.createElement("h4",null,"Custom label"),_react.default.createElement(_index.default,{value:!0,onLabel:"Yes",offLabel:"No"}),_react.default.createElement("h4",null,"Custom color"),_react.default.createElement(_index.default,{value:!0,onLabel:"Yes",offLabel:"No",offColor:"red",onColor:"green"}))}));