Skip to content

Commit

Permalink
docs(dropdown): remove unused play function from disabled stories
Browse files Browse the repository at this point in the history
  • Loading branch information
ogunb committed Feb 13, 2025
1 parent 59a2c04 commit 6808c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dropdown/bl-dropdown.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ You can add icons to your dropdown buttons using the `icon` attribute. The icon
We have 2 types of disabled dropdown buttons: Disable version of Primary and Secondary buttons is the same.

<Canvas columns={1}>
<Story name="Disabling Dropdown Buttons" args={{ label: 'Dropdown Button', disabled: true }} play={dropdownOpener}>
<Story name="Disabling Dropdown Buttons" args={{ label: 'Dropdown Button', disabled: true }}>
{SizesTemplate.bind({})}
</Story>
</Canvas>

Whereas Tertiary buttons keep their transparent backgrounds.

<Canvas columns={1}>
<Story name="Disabling Tertiary Dropdown Buttons" args={{ label: 'Dropdown Button', disabled: true, variant:"tertiary" }} play={dropdownOpener}>
<Story name="Disabling Tertiary Dropdown Buttons" args={{ label: 'Dropdown Button', disabled: true, variant:"tertiary" }}>
{SizesTemplate.bind({})}
</Story>
</Canvas>
Expand Down

0 comments on commit 6808c49

Please sign in to comment.