import React from "react"; import { useArgs } from "@storybook/client-api"; import { ComponentStory, ComponentMeta } from "@storybook/react"; import { ChangeEvent } from "react"; import { ComboBox } from "./ComboBox"; export default { title: "Design System/Atoms/Inputs/Combo Box", component: ComboBox, argTypes: { value: { name: "Value", type: "string", defaultValue: "Element A" }, }, } as ComponentMeta; const Template: ComponentStory = (args) => { const [_, updateArgs] = useArgs(); return ( ) => updateArgs({ value: el.currentTarget.value }) }> ); }; export const Default = Template.bind({});