"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_actions_1 = require("@storybook/addon-actions");
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|Switcher', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .addDecorator(addon_centered_1.default)
    .add('Switcher', addon_info_1.withInfo({ text: 'Switcher' })(addon_notes_1.withNotes('A very simple component')(() => {
    const switcherText = addon_knobs_1.select('Text', index_1.TEXT, index_1.TEXT.ON_OFF);
    return (React.createElement(index_1.Switcher, { checked: addon_knobs_1.boolean('checked', true), onChange: addon_actions_1.action('onChange'), disabled: addon_knobs_1.boolean('disabled', false), disabledHint: addon_knobs_1.text('disabledHint', ''), text: switcherText }));
})));
//# sourceMappingURL=stories.js.map