mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
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…
x
Reference in New Issue
Block a user