"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_1 = require("@storybook/react");
var addon_actions_1 = require("@storybook/addon-actions");
var storybook_chrome_screenshot_1 = require("storybook-chrome-screenshot");
var with_readme_1 = require("storybook-readme/with-readme");
var __1 = require("../");
var BadgeSelect_md_1 = require("./README/BadgeSelect.md");
react_1.storiesOf('Core/BadgeSelect', module)
    .addDecorator(with_readme_1.default(BadgeSelect_md_1.default))
    .addDecorator(storybook_chrome_screenshot_1.withScreenshot())
    .add('Standard', function () {
    return (React.createElement(__1.Provider, null,
        React.createElement(__1.Box, { m: 3 },
            React.createElement(__1.BadgeSelect, { placeholder: 'Select a target', items: ['wpe', 'web', 'redis'], onItemChange: addon_actions_1.action('onItemChange') }))));
})
    .add('Prefix', function () {
    return (React.createElement(__1.Provider, null,
        React.createElement(__1.Box, { m: 3 },
            React.createElement(__1.BadgeSelect, { placeholder: 'Select a target', items: ['wpe', 'web', 'redis'], extraPrefix: ['Host OS'], onItemChange: addon_actions_1.action('onItemChange') }))));
})
    .add('Suffix', function () {
    return (React.createElement(__1.Provider, null,
        React.createElement(__1.Box, { m: 3 },
            React.createElement(__1.BadgeSelect, { placeholder: 'Select a target', items: ['wpe', 'web', 'redis'], extraSuffix: ['Host OS'], onItemChange: addon_actions_1.action('onItemChange') }))));
});
