Skip to content

Commit

Permalink
fix(stories): use new toggle switch
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlfischer committed Jan 23, 2024
1 parent a557a9d commit 79576c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dialog/dialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const WithLongContent: Story = {
args: {
children: (
<>
<Toggle checked ariaLabel="test" onChange={noop} />
<Toggle.Switch checked ariaLabel="test" onChange={noop} />
<p className="py-10">Paragraph Content</p>
<FormField>
<FormField.LabelGroup>
Expand Down Expand Up @@ -166,7 +166,7 @@ export const WithLongContent: Story = {
</p>
<span>litipsum.com</span>
<Alert title="Some important information" intent="info" />
<Toggle checked={false} ariaLabel="test" onChange={noop} />
<Toggle.Switch checked={false} ariaLabel="test" onChange={noop} />
</>
),
},
Expand Down

0 comments on commit 79576c3

Please sign in to comment.