"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"));
react_2.storiesOf('ToggleButton', module).add('Default', addon_info_1.withInfo('Default')(() => (react_1.default.createElement("div", { style: { margin: 10 } },
    react_1.default.createElement("h4", null, "Default"),
    react_1.default.createElement(index_1.default, { labels: ['Sign In', 'Login'], selectedIndex: 0, onChange: addon_actions_1.action('on-change') }),
    react_1.default.createElement("h4", null, "Custom Width"),
    react_1.default.createElement("div", { style: { width: 400 } },
        react_1.default.createElement(index_1.default, { labels: ['Sign In', 'Login'], selectedIndex: 0, onChange: addon_actions_1.action('on-change') })),
    react_1.default.createElement("h4", null, "More than 2"),
    react_1.default.createElement(index_1.default, { labels: ['First', 'Second', 'Third', 'Forth'], onChange: addon_actions_1.action('on-change'), selectedIndex: 1 }),
    react_1.default.createElement("h4", null, "Custom Color"),
    react_1.default.createElement(index_1.default, { labels: ['First', 'Second', 'Third'], selectedIndex: 1, activeColor: "#2CCFA0", onChange: addon_actions_1.action('on-change') }),
    react_1.default.createElement("h4", null, "With Label"),
    react_1.default.createElement(index_1.default, { labels: ['First', 'Second', 'Third'], selectedIndex: 1, title: "Choose", onChange: addon_actions_1.action('on-change') }),
    react_1.default.createElement("h4", null, "onChange"),
    react_1.default.createElement(index_1.default, { labels: ['First', 'Second', 'Third'], selectedIndex: 0, activeColor: "#2CCFA0", onChange: addon_actions_1.action('on-change') })))));
//# sourceMappingURL=index.story.js.map