Add IdeRedesign decorator to dropdown menu stories (#30493)

GitOrigin-RevId: c63801c50029f17979c2b1c0e02a3b0ba5fb7adf
This commit is contained in:
Alf Eaton
2026-01-08 11:42:44 +00:00
committed by Copybot
parent ce5f66c21b
commit 64104e069a
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { Decorator } from '@storybook/react'
export const IdeRedesign: Decorator = Story => (
<div className="ide-redesign-main">
<Story />
</div>
)

View File

@@ -6,6 +6,7 @@ import {
} from '@/shared/components/dropdown/dropdown-menu'
import type { Meta } from '@storybook/react'
import OLDropdownMenuItem from '@/shared/components/ol/ol-dropdown-menu-item'
import { IdeRedesign } from '../decorators/ide-redesign'
type Args = React.ComponentProps<typeof DropdownMenu>
@@ -229,6 +230,7 @@ const meta: Meta<typeof DropdownMenu> = {
include: ['disabled'],
},
},
decorators: [IdeRedesign],
}
export default meta