"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const addon_centered_1 = __importDefault(require("@storybook/addon-centered"));
const addon_info_1 = require("@storybook/addon-info");
const addon_knobs_1 = require("@storybook/addon-knobs");
const addon_notes_1 = require("@storybook/addon-notes");
const react_1 = require("@storybook/react");
const React = __importStar(require("react"));
const index_1 = require("./index");
react_1.storiesOf('Atoms|Input', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .addDecorator(addon_centered_1.default)
    .add('Input Normal', addon_info_1.withInfo({ text: 'Input Normal' })(addon_notes_1.withNotes('Input - Normal style')(() => (React.createElement(index_1.Input, { type: index_1.InputType.TEXT, value: addon_knobs_1.text('value', 'Trello') })))))
    .add('Input Error', addon_info_1.withInfo({ text: 'Input Error' })(addon_notes_1.withNotes('Input - Error style')(() => (React.createElement(index_1.Input, { type: index_1.InputType.TEXT, label: addon_knobs_1.text('label', 'Email'), value: addon_knobs_1.text('value', 'Trello'), error: addon_knobs_1.text('Error', 'invalid value') })))));
//# sourceMappingURL=stories.js.map