fix(left-sidebar-icon-button-story): update with new props

This commit is contained in:
RadoslavDimchev 2024-04-11 15:08:31 +03:00 committed by Radoslav Dimchev
parent f23d00d40a
commit a8de9dd20c
1 changed files with 5 additions and 6 deletions

View File

@ -3,6 +3,7 @@ import { DashboardIcon } from '@status-im/icons'
import { withRouter } from 'storybook-addon-react-router-v6'
import LeftSidebarIconButton from './LeftSidebarIconButton'
import { DASHBOARD } from '../../../constants'
const meta = {
title: 'General/LeftSidebarIconButton',
@ -19,16 +20,14 @@ type Story = StoryObj<typeof meta>
export const Default: Story = {
args: {
iconEl: <DashboardIcon size={20} />,
isDisabled: false,
path: 'dashboard',
icon: <DashboardIcon size={20} />,
path: DASHBOARD,
},
}
export const Disabled: Story = {
args: {
iconEl: <DashboardIcon size={20} />,
isDisabled: true,
path: 'dashboard',
icon: <DashboardIcon size={20} />,
path: DASHBOARD,
},
}