import { jsx as _jsx } from "react/jsx-runtime";
import { MemoryRouter } from "react-router-dom";
import { Page } from "../grid";
import { HistoryTable } from "./history";
import { params1 } from "./history.mock";
import { PolkadotProvider } from "../../contexts/polkadot";
import { useBase } from "../../contexts/substrate/base";
import BigNumber from "bignumber.js";
const meta = {
    title: "Composed/Tables",
};
export default meta;
const InnerHistory = () => {
    return _jsx(HistoryTable, { convert: () => new BigNumber(-100), ...params1 });
};
export const History = () => {
    return (_jsx(MemoryRouter, { children: _jsx(PolkadotProvider, { useBase: useBase, name: "genshiro", networks: [
                {
                    type: "Gens",
                    name: "Testnet",
                    node: "wss://node.genshiro.io",
                },
                {
                    type: "Gens",
                    name: "Testnet",
                    dev: true,
                    node: "wss://node.genshiro.io",
                },
            ], children: _jsx(Page, { children: _jsx(InnerHistory, {}) }) }) }));
};
//# sourceMappingURL=index.stories.js.map