fix(left-sidebar-icon-button-story): remove old props
This commit is contained in:
parent
845914e71a
commit
682fadf273
|
@ -1,8 +1,8 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
import { DashboardIcon } from '@status-im/icons'
|
import { DashboardIcon } from '@status-im/icons'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
import LeftSidebarIconButton from './LeftSidebarIconButton'
|
import LeftSidebarIconButton from './LeftSidebarIconButton'
|
||||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'General/LeftSidebarIconButton',
|
title: 'General/LeftSidebarIconButton',
|
||||||
|
@ -21,9 +21,7 @@ export const Default: Story = {
|
||||||
args: {
|
args: {
|
||||||
iconEl: <DashboardIcon size={20} />,
|
iconEl: <DashboardIcon size={20} />,
|
||||||
isDotOn: false,
|
isDotOn: false,
|
||||||
isSelected: false,
|
|
||||||
isDisabled: false,
|
isDisabled: false,
|
||||||
id: 'dashboard',
|
|
||||||
path: 'dashboard',
|
path: 'dashboard',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -32,20 +30,7 @@ export const DotOn: Story = {
|
||||||
args: {
|
args: {
|
||||||
iconEl: <DashboardIcon size={20} />,
|
iconEl: <DashboardIcon size={20} />,
|
||||||
isDotOn: true,
|
isDotOn: true,
|
||||||
isSelected: false,
|
|
||||||
isDisabled: false,
|
isDisabled: false,
|
||||||
id: 'dashboard',
|
|
||||||
path: 'dashboard',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
export const Selected: Story = {
|
|
||||||
args: {
|
|
||||||
iconEl: <DashboardIcon size={20} />,
|
|
||||||
isDotOn: false,
|
|
||||||
isSelected: true,
|
|
||||||
isDisabled: false,
|
|
||||||
id: 'dashboard',
|
|
||||||
path: 'dashboard',
|
path: 'dashboard',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue