Skip to content

Commit 8f98b09

Browse files
committed
fix: rename variable
1 parent 969b711 commit 8f98b09

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

apps/storybook/src/stories/Dropdown.stories.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Meta, StoryObj } from '@storybook/react'
22
import type { DropdownProps } from '@wayofdev/ui/src'
3-
import { Dropdown, DropdownAlign, DropdownVariant } from '@wayofdev/ui/src'
3+
import { Dropdown, DropdownAlign, DropdownItemVariant } from '@wayofdev/ui/src'
44

55
const meta = {
66
title: 'Example/Dropdown',
@@ -13,10 +13,10 @@ const meta = {
1313
},
1414
args: {
1515
items: [
16-
{ variant: DropdownVariant.Link, element: 'Profile', props: { href: '/#Profile' } },
17-
{ variant: DropdownVariant.Link, element: 'Settings', props: { href: '/#Settings' } },
18-
{ variant: DropdownVariant.Link, element: 'My Orders', props: { href: '/#MyOrders' } },
19-
{ variant: DropdownVariant.Button, element: 'Logout' },
16+
{ variant: DropdownItemVariant.Link, element: 'Profile', props: { href: '/#Profile' } },
17+
{ variant: DropdownItemVariant.Link, element: 'Settings', props: { href: '/#Settings' } },
18+
{ variant: DropdownItemVariant.Link, element: 'My Orders', props: { href: '/#MyOrders' } },
19+
{ variant: DropdownItemVariant.Button, element: 'Logout' },
2020
],
2121
align: DropdownAlign.Left,
2222
},
@@ -38,18 +38,18 @@ export const DropdownAlignRight: Story = {
3838
export const DropdownLinkElement: Story = {
3939
args: {
4040
items: [
41-
{ variant: DropdownVariant.Link, element: 'Profile', props: { href: '/#Profile' } },
42-
{ variant: DropdownVariant.Link, element: 'Settings', props: { href: '/#Settings' } },
43-
{ variant: DropdownVariant.Link, element: 'My Orders', props: { href: '/#MyOrders' } },
41+
{ variant: DropdownItemVariant.Link, element: 'Profile', props: { href: '/#Profile' } },
42+
{ variant: DropdownItemVariant.Link, element: 'Settings', props: { href: '/#Settings' } },
43+
{ variant: DropdownItemVariant.Link, element: 'My Orders', props: { href: '/#MyOrders' } },
4444
],
4545
},
4646
}
4747

4848
export const DropdownButtonElement: Story = {
4949
args: {
5050
items: [
51-
{ variant: DropdownVariant.Button, element: 'Make Action' },
52-
{ variant: DropdownVariant.Button, element: 'Logout' },
51+
{ variant: DropdownItemVariant.Button, element: 'Make Action' },
52+
{ variant: DropdownItemVariant.Button, element: 'Logout' },
5353
],
5454
},
5555
}

0 commit comments

Comments
 (0)