var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
import { jsx as _jsx } from "react/jsx-runtime";
import Preview from 'preview';
import { initChainStyles } from 'config/stylebook';
var AppOptions = {
    version: 'widget/v1',
    kind: 'Application',
    metadata: {
        name: 'subscan widget',
    },
    spec: {
        components: [
            {
                id: 'icon2',
                type: 'core/v1/icon',
                properties: {
                    name: 'barchart',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon3',
                type: 'core/v1/icon',
                properties: {
                    name: 'finalized',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon4',
                type: 'core/v1/icon',
                properties: {
                    name: 'note',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon5',
                type: 'core/v1/icon',
                properties: {
                    name: 'person',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon6',
                type: 'core/v1/icon',
                properties: {
                    name: 'points',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon7',
                type: 'core/v1/icon',
                properties: {
                    name: 'rate',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon8',
                type: 'core/v1/icon',
                properties: {
                    name: 'stake',
                    spin: false,
                },
                traits: [],
            },
            {
                id: 'icon9',
                type: 'core/v1/icon',
                properties: {
                    name: 'swap',
                    spin: false,
                },
                traits: [],
            },
        ],
    },
};
export default {
    title: 'Subscan Lib/Icon',
    component: Preview,
};
var Template = function (args) { return _jsx(Preview, __assign({}, args)); };
export var Index = Template.bind({});
Index.args = __assign({ options: AppOptions }, initChainStyles);
