import { DropdownMenu, DropdownItem, DropdownDivider, DropdownHeader, } from '@/features/ui/components/bootstrap-5/dropdown-menu' import type { Meta } from '@storybook/react' import OLDropdownMenuItem from '@/features/ui/components/ol/ol-dropdown-menu-item' type Args = React.ComponentProps export const Default = (args: Args) => { return (
  • Example
  • Example
  • Example
  • ) } export const Active = (args: Args) => { return (
  • Example
  • Example
  • Example
  • ) } export const MultipleSelection = (args: Args) => { return ( Header
  • } > Example
  • Example
  • Example
  • ) } export const Danger = (args: Args) => { return (
  • Example
  • Example
  • Example
  • ) } export const Description = (args: Args) => { return (
  • Example
  • Example
  • ) } export const Icon = (args: Args) => { return (
  • Editor & PDF
  • Editor only
  • PDF only
  • PDF in separate tab
  • Small icon
  • ) } const meta: Meta = { title: 'Shared / Components / Bootstrap 5 / DropdownMenu', component: DropdownMenu, argTypes: { disabled: { control: 'boolean', }, show: { table: { disable: true, }, }, }, parameters: { bootstrap5: true, }, } export default meta