"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_2 = require("@storybook/react");
const addon_info_1 = require("@storybook/addon-info");
const addon_actions_1 = require("@storybook/addon-actions");
const index_1 = __importDefault(require("./index"));
const formik_1 = require("formik");
react_2.storiesOf('CustomerForm', module).add('Default', addon_info_1.withInfo('Default')(() => (react_1.default.createElement("div", { style: { margin: 10, width: 600 } },
    react_1.default.createElement(formik_1.Formik, { initialValues: {
            company_name: '',
            contact_name: '',
            contact_surname: '',
            abn: '',
            email: '',
        }, onSubmit: addon_actions_1.action('onSubmit'), render: formProps => (react_1.default.createElement("form", { onSubmit: formProps.handleSubmit },
            react_1.default.createElement(index_1.default, { values: formProps.values, errors: formProps.errors, touched: formProps.touched, handleChange: formProps.handleChange, handleBlur: formProps.handleBlur }))) })))));
//# sourceMappingURL=index.story.js.map