Skip to content

Commit

Permalink
fix(components): change menu story arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sekaiking committed Feb 1, 2022
1 parent 834df80 commit 9000ab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/src/stories/Menu.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-nocheck
import type { ComponentStory, ComponentMeta } from '@storybook/react'
import { Menu } from '../Menu'

Expand All @@ -20,11 +21,12 @@ const Template: ComponentStory<typeof Menu> = (args) => {
export const Connected = Template.bind({})
Connected.args = {
base: 'cc',
accountId: 'ys24.testnet',
isDisconnected: false,
nextLinkWrapper: (link, children) => <a href={link}>{children}</a>,
}

export const Disconnected = Template.bind({})
Disconnected.args = {
isDisconnected: true,
base: 'cc',
}

1 comment on commit 9000ab7

@vercel
Copy link

@vercel vercel bot commented on 9000ab7 Feb 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.