mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-20 16:30:34 +00:00
fix: details for new stories
This commit is contained in:
parent
c98ee6c040
commit
fb6778f70a
@ -13,6 +13,6 @@ export default meta
|
||||
|
||||
type AddCardStory = StoryObj<typeof AddCard>
|
||||
|
||||
export const Page: AddCardStory = {
|
||||
export const Default: AddCardStory = {
|
||||
args: {},
|
||||
}
|
||||
|
@ -2,17 +2,21 @@ import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import BasicInfoCard from './BasicInfoCard'
|
||||
|
||||
const meta: Meta = {
|
||||
const meta = {
|
||||
title: 'Dashboard/BasicInfoCard',
|
||||
component: BasicInfoCard,
|
||||
decorators: [],
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
}
|
||||
} satisfies Meta<typeof BasicInfoCard>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
type BasicInfoCardStory = StoryObj<typeof BasicInfoCard>
|
||||
|
||||
export const Page: BasicInfoCardStory = {
|
||||
args: {},
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
title: 'Default',
|
||||
value: '10',
|
||||
},
|
||||
}
|
||||
|
@ -2,17 +2,18 @@ import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import Dashboard from './Dashboard'
|
||||
|
||||
const meta: Meta = {
|
||||
const meta = {
|
||||
title: 'Pages/Dashboard',
|
||||
component: Dashboard,
|
||||
decorators: [],
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
}
|
||||
} satisfies Meta<typeof Dashboard>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
type DashboardStory = StoryObj<typeof Dashboard>
|
||||
|
||||
export const Page: DashboardStory = {
|
||||
export const Page: Story = {
|
||||
args: {},
|
||||
}
|
||||
|
@ -2,17 +2,20 @@ import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import DashboardCardWrapper from './DashboardCardWrapper'
|
||||
|
||||
const meta: Meta = {
|
||||
const meta = {
|
||||
title: 'Dashboard/DashboardCardWrapper',
|
||||
component: DashboardCardWrapper,
|
||||
decorators: [],
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
}
|
||||
} satisfies Meta<typeof DashboardCardWrapper>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
type DashboardCardWrapperStory = StoryObj<typeof DashboardCardWrapper>
|
||||
|
||||
export const Page: DashboardCardWrapperStory = {
|
||||
args: {},
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
children: 'Default',
|
||||
},
|
||||
}
|
||||
|
@ -2,17 +2,18 @@ import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import SyncStatusCard from './SyncStatusCard'
|
||||
|
||||
const meta: Meta = {
|
||||
const meta = {
|
||||
title: 'Dashboard/SyncStatusCard',
|
||||
component: SyncStatusCard,
|
||||
decorators: [],
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
}
|
||||
} satisfies Meta<typeof SyncStatusCard>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
type SyncStatusCardStory = StoryObj<typeof SyncStatusCard>
|
||||
|
||||
export const Page: SyncStatusCardStory = {
|
||||
export const Default: Story = {
|
||||
args: {},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user