"use strict";var _react=_interopRequireDefault(require("react")),_react2=require("@storybook/react"),_addonInfo=require("@storybook/addon-info"),_addonActions=require("@storybook/addon-actions"),_index=_interopRequireDefault(require("./index")),_formik=require("formik"),_yup=_interopRequireDefault(require("yup"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(0,_react2.storiesOf)("CustomerForm",module).add("Default",(0,_addonInfo.withInfo)("Default")(function(){return _react.default.createElement("div",{style:{margin:10,width:600}},_react.default.createElement(_formik.Formik,{initialValues:{company_name:"",contact_name:"",contact_surname:"",abn:"",email:""},onSubmit:(0,_addonActions.action)("onSubmit"),render:function render(formProps){return _react.default.createElement("form",{onSubmit:formProps.handleSubmit},_react.default.createElement(_index.default,{values:formProps.values,errors:formProps.errors,touched:formProps.touched,handleChange:formProps.handleChange,handleBlur:formProps.handleBlur}))}}))}));