import { jsx as _jsx } from "react/jsx-runtime";
import InputToken from "./index";
export default {
    title: "Composed/InputToken",
    component: InputToken,
};
const Template = (args) => (_jsx("div", { style: { maxWidth: "256px" }, children: _jsx(InputToken, { ...args }) }));
export const New = Template.bind({});
New.args = {
    onChange: (amount, token) => {
        console.log(`User inputs ${amount} ${token}`);
    },
};
export const WithError = Template.bind({});
WithError.args = {
    onChange: (amount, token) => {
        console.log(`User inputs ${amount} ${token}`);
    },
    error: "Your error can be here",
};
//# sourceMappingURL=index.stories.js.map