import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import { getWrapperDecorator } from '../../stories';
import { Dropdown, DropdownItem } from '.';
const meta = {
title: 'UI/Dropdown',
component: Dropdown,
decorators: [getWrapperDecorator()],
args: {
glyph: 'filter',
label: 'Toggle',
children: (
<>
Option 1
Option 2
>
),
},
} satisfies Meta;
export default meta;
type Story = StoryObj;
export const Default: Story = {};
export const Disabled: Story = {
args: {
disabled: true,
},
};