diff --git a/stories/Eck-Autocomplete.stories.ts b/stories/Eck-Autocomplete.stories.ts index d136a4a..55caabc 100644 --- a/stories/Eck-Autocomplete.stories.ts +++ b/stories/Eck-Autocomplete.stories.ts @@ -34,8 +34,7 @@ const meta: Meta = { }, docs: { story: { - inline: false, - iframeHeight: 150, + height: '120px', }, }, }, @@ -55,11 +54,11 @@ export const Default: Story = { args: defaultOptions, }; -export const HighlightFirstOption = { ...Default }; -HighlightFirstOption.args = { - ...defaultOptions, - ...{ +export const HighlightFirstOption: Story = { + render: (args) => createAutocompleteWithInput(args), + args: { + ...defaultOptions, highlightFirstOption: true, }, + name: 'First option highlighted', }; -HighlightFirstOption.storyName = 'First option highlighted';