Skip to content

Commit 2ab0d0a

Browse files
fix(autocomplete): update autocomplete stories
1 parent af93f92 commit 2ab0d0a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/components/stories/Autocomplete.stories.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import { expect, userEvent, within } from 'storybook/test';
66

77
import { Autocomplete } from '../src/Autocomplete';
88
import { Button } from '../src/Button';
9-
import { Dialog, DialogTrigger } from '../src/Dialog';
9+
import { Dialog } from '../src/Dialog';
1010
import { Group } from '../src/Group';
1111
import { IconButton } from '../src/IconButton';
1212
import { Input } from '../src/Input';
1313
import { ListBox, ListBoxItem } from '../src/ListBox';
14-
import { Menu, MenuItem } from '../src/Menu';
14+
import { Menu, MenuItem, MenuTrigger } from '../src/Menu';
1515
import { Popover } from '../src/Popover';
1616
import { SearchField } from '../src/SearchField';
1717

@@ -45,7 +45,7 @@ export const Example: Story = {
4545
];
4646

4747
return (
48-
<DialogTrigger>
48+
<MenuTrigger>
4949
<Button>Trigger</Button>
5050
<Popover placement="bottom start">
5151
<Dialog aria-label="dialog with autocomplete">
@@ -73,7 +73,7 @@ export const Example: Story = {
7373
</Autocomplete>
7474
</Dialog>
7575
</Popover>
76-
</DialogTrigger>
76+
</MenuTrigger>
7777
);
7878
},
7979
...open,
@@ -89,7 +89,7 @@ export const ListBoxExample: Story = {
8989
];
9090

9191
return (
92-
<DialogTrigger>
92+
<MenuTrigger>
9393
<Button>Trigger</Button>
9494
<Popover placement="bottom start">
9595
<Dialog aria-label="dialog with autocomplete">
@@ -118,7 +118,7 @@ export const ListBoxExample: Story = {
118118
</Autocomplete>
119119
</Dialog>
120120
</Popover>
121-
</DialogTrigger>
121+
</MenuTrigger>
122122
);
123123
},
124124
...open,

0 commit comments

Comments
 (0)