diff --git a/apps/designer/app/shared/design-system/components/combobox.stories.tsx b/apps/designer/app/shared/design-system/components/combobox.stories.tsx index 89a0d3aad6..cea689061e 100644 --- a/apps/designer/app/shared/design-system/components/combobox.stories.tsx +++ b/apps/designer/app/shared/design-system/components/combobox.stories.tsx @@ -19,11 +19,10 @@ export const Simple: ComponentStory = () => { name="fruit" options={options} value={value} - onValueChange={setValue} + onOptionSelect={setValue} /> ); }; - export const CustomInput: ComponentStory = () => { const options = [ { label: "Apple", value: "apple", disabled: true }, @@ -37,8 +36,8 @@ export const CustomInput: ComponentStory = () => { name="fruit" options={options} value={value} - onChange={setValue} - onOptionHightlight={(option: Option) => {}} + onOptionSelect={setValue} + onOptionHighlight={(option) => {}} disclosure={(props) => ( & { - options: Array