"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_knobs_1 = require("@storybook/addon-knobs");
const react_1 = require("@storybook/react");
const React = __importStar(require("react"));
const index_1 = require("./index");
const arrayItems = [
    {
        title: 'Test',
        description: 'My awesome desc.',
        value: 'test',
    },
    {
        title: 'Test 2',
        description: 'My awesome desc.',
        value: 'test2',
    },
];
react_1.storiesOf('Molecules|Chooser', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .addDecorator(addon_centered_1.default)
    .add('Chooser', () => (React.createElement(index_1.Chooser, { items: arrayItems, onSelect: addon_actions_1.action('onSelect') })));
//# sourceMappingURL=stories.js.map