fix: add cards container story title and examples
This commit is contained in:
parent
542b65699f
commit
b9ec9e40fc
|
@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react'
|
|||
import AddCardsContainer from './AddCardsContainer'
|
||||
|
||||
const meta = {
|
||||
title: 'Dashboard/AddCardsContainer',
|
||||
title: 'General/AddCardsContainer',
|
||||
component: AddCardsContainer,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
|
@ -15,5 +15,13 @@ export default meta
|
|||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {},
|
||||
args: {
|
||||
cardsAmount: 2,
|
||||
},
|
||||
}
|
||||
|
||||
export const WithoutCards: Story = {
|
||||
args: {
|
||||
cardsAmount: 0,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue