Skip to content

Commit

Permalink
docs: ✏️ fix controls on docs page not updating component due to non-…
Browse files Browse the repository at this point in the history
…inline story
  • Loading branch information
LeonEck committed Jul 22, 2023
1 parent 49d03cc commit 2d23918
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions stories/Eck-Autocomplete.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ const meta: Meta<EckAutocompleteProps> = {
},
docs: {
story: {
inline: false,
iframeHeight: 150,
height: '120px',
},
},
},
Expand All @@ -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';

0 comments on commit 2d23918

Please sign in to comment.