"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_react=_interopRequireDefault(require("react")),_react2=require("@storybook/react"),_addonInfo=require("@storybook/addon-info"),_formik=require("formik"),_index=_interopRequireDefault(require("./index")),_FormikRadioButton=_interopRequireDefault(require("./FormikRadioButton"));(0,_react2.storiesOf)("RadioButton",module).add("Default",(0,_addonInfo.withInfo)("Default")(function(){return/*#__PURE__*/_react["default"].createElement("div",{style:{margin:10}},/*#__PURE__*/_react["default"].createElement("h4",null,"Default"),/*#__PURE__*/_react["default"].createElement(_index["default"],{label:"Text"}),/*#__PURE__*/_react["default"].createElement("h4",null,"Disabled"),/*#__PURE__*/_react["default"].createElement(_index["default"],{disabled:!0,label:"Text"}),/*#__PURE__*/_react["default"].createElement("h4",null,"Predefined checked"),/*#__PURE__*/_react["default"].createElement(_index["default"],{value:!0,label:"Text"}),/*#__PURE__*/_react["default"].createElement("h4",null,"Custom color"),/*#__PURE__*/_react["default"].createElement(_index["default"],{value:!0,color:"green",label:"Text"}))})).add("Formik",(0,_addonInfo.withInfo)("Formik RadioButton")(function(){return/*#__PURE__*/_react["default"].createElement("div",{style:{margin:10}},/*#__PURE__*/_react["default"].createElement(_formik.Formik,{initialValues:{radio1:!0,radio2:!1},onSubmit:function onSubmit(){}},/*#__PURE__*/_react["default"].createElement(_react["default"].Fragment,null,/*#__PURE__*/_react["default"].createElement(_FormikRadioButton["default"],{name:"radio1",label:"Radio 1"}),/*#__PURE__*/_react["default"].createElement("br",null),/*#__PURE__*/_react["default"].createElement(_FormikRadioButton["default"],{name:"radio2",label:"Radio 2"}))))}));