"use strict";
/** @flow **/
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 index_1 = __importDefault(require("./index"));
react_2.storiesOf('ToggleSwitch', 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, null),
    react_1.default.createElement("h4", null, "Compact"),
    react_1.default.createElement(index_1.default, { compact: true }),
    react_1.default.createElement("h4", null, "With Label"),
    react_1.default.createElement(index_1.default, { label: 'Two step account authentication' }),
    react_1.default.createElement("h4", null, "Disabled"),
    react_1.default.createElement(index_1.default, { disabled: true }),
    react_1.default.createElement("h4", null, "Predefined value"),
    react_1.default.createElement(index_1.default, { value: true }),
    react_1.default.createElement("h4", null, "Custom label"),
    react_1.default.createElement(index_1.default, { value: true, onLabel: "Yes", offLabel: "No" }),
    react_1.default.createElement("h4", null, "Custom color"),
    react_1.default.createElement(index_1.default, { value: true, onLabel: "Yes", offLabel: "No", offColor: "red", onColor: "green" })))));
//# sourceMappingURL=index.story.js.map