import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import AddressInput from "./";
import { PolkadotProvider } from "../../contexts/polkadot";
import { BaseProvider, useBase } from "../../contexts/substrate/base";
export default {
    title: "Controls/Address Input",
    component: AddressInput,
};
export const Basic = () => {
    const [address, setAddress] = React.useState("");
    return (_jsx(BaseProvider, { init: true, children: _jsx(PolkadotProvider, { useBase: useBase, name: "equilibrium", networks: [
                {
                    name: "Testnet",
                    dev: true,
                    node: "wss://testnet.equilibrium.io",
                },
                {
                    name: "Mainnet",
                    node: "wss://node.equilibrium.io",
                },
            ], children: "TODO legacy address input removed" }) }));
};
//# sourceMappingURL=index.stories.js.map