fix: add cards container story title and examples

This commit is contained in:
RadoslavDimchev 2023-11-14 00:53:13 +02:00
parent 542b65699f
commit b9ec9e40fc
1 changed files with 10 additions and 2 deletions

View File

@ -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,
},
}