import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
import InputToken from "./index";
export default {
    title: "Composed/Token Input",
    component: InputToken,
};
export const InputTokenStory = () => {
    const [amount, setAmount] = React.useState("");
    const [token, setToken] = React.useState("Btc");
    return (_jsx(InputToken, { onChange: (amount, token) => {
            console.log(`User inputs ${amount} ${token}`);
            setAmount(amount);
            setToken(token);
        }, amount: amount, token: token }));
};
//# sourceMappingURL=index.stories.js.map