"use strict";
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_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");
const addon_actions_1 = require("@storybook/addon-actions");
const iconPath = 'https://static.crozdesk.com/web_app_library/providers/logos/000/003/278/original/slite-1511195689-logo.png?1511195689';
const ServiceActionTypeSelect = [
    index_1.ServiceActionType.Add,
    index_1.ServiceActionType.Settings,
];
react_1.storiesOf('Molecules|Service', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .add('Service', addon_info_1.withInfo({ text: 'Service' })(addon_notes_1.withNotes('Service')(() => (React.createElement(index_1.Service, { key: 'service', service: { id: 'slite', name: 'Slite' }, onAdd: addon_actions_1.action('onAdd'), actionType: addon_knobs_1.select('Action Type', ServiceActionTypeSelect, index_1.ServiceActionType.Add), subTitle: addon_knobs_1.text('subtitle', ''), alternate: addon_knobs_1.boolean('aternate', false), iconPath: addon_knobs_1.text('iconPath', iconPath) })))));
//# sourceMappingURL=stories.js.map