"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 index_1 = require("./index");
const __1 = require("../..");
const addon_centered_1 = __importDefault(require("@storybook/addon-centered"));
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"));
react_1.storiesOf('Atoms|ButtonIcon', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .addDecorator(addon_centered_1.default)
    .add('All sizes', addon_info_1.withInfo({ text: 'All sizes' })(addon_notes_1.withNotes('All sizes')(() => {
    return (React.createElement(React.Fragment, null,
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS, btnSize: __1.Size.BIG }),
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS }),
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS, btnSize: __1.Size.SMALL }),
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS, btnSize: __1.Size.XSMALL }),
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS, btnSize: __1.Size.XXSMALL }),
        React.createElement(index_1.ButtonIcon, { symbolId: __1.IconSymbol.CROSS, btnSize: __1.Size.XXXSMALL })));
})))
    .add('With text', addon_info_1.withInfo({ text: 'With text' })(addon_notes_1.withNotes('With text')(() => {
    const content = addon_knobs_1.text('text', 'Add a new account');
    return (React.createElement(React.Fragment, null,
        React.createElement(index_1.ButtonIcon, { text: content, symbolId: __1.IconSymbol.PLUS, btnSize: __1.Size.SMALL })));
})));
//# sourceMappingURL=stories.js.map