Skip to content

Commit

Permalink
docs(OnyxFlyoutMenu): fix Storybook example (#2135)
Browse files Browse the repository at this point in the history
Relates to #2123

Currently, the Storybook example for the OnyxFlyoutMenu is broken due to
#2123
  • Loading branch information
larsrickert authored Nov 21, 2024
1 parent 9b13771 commit 96fba91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const meta: Meta<typeof OnyxFlyoutMenu> = {
}),
],
argTypes: {
default: { control: { disable: true } },
button: { control: { disable: true } },
options: { control: { disable: true } },
header: { control: { disable: true } },
footer: { control: { disable: true } },
Expand All @@ -39,7 +39,7 @@ type Story = StoryObj<typeof OnyxFlyoutMenu>;
export const Default = {
args: {
label: "Choose application language",
default: ({ trigger }) => [
button: ({ trigger }) => [
h(OnyxButton, { label: "English", mode: "plain", color: "neutral", icon: globe, ...trigger }),
],
options: () => [
Expand Down

0 comments on commit 96fba91

Please sign in to comment.