45 lines
803 B
TypeScript
45 lines
803 B
TypeScript
import { Meta, StoryObj } from '@storybook/react'
|
|
import { MassTableRow } from './MassTableRow'
|
|
|
|
const meta: Meta<typeof MassTableRow> = {
|
|
component: MassTableRow,
|
|
}
|
|
|
|
export default meta
|
|
type Story = StoryObj<typeof meta>
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
id: '1',
|
|
date: '2024-08-23T15:00:00.000Z',
|
|
type: 'MASS',
|
|
cancelled: false,
|
|
},
|
|
}
|
|
|
|
export const FamilyMass: Story = {
|
|
args: {
|
|
id: '1',
|
|
date: '2024-08-23T15:00:00.000Z',
|
|
type: 'FAMILY',
|
|
cancelled: false,
|
|
},
|
|
}
|
|
|
|
export const LiturgyOfTheWord: Story = {
|
|
args: {
|
|
id: '1',
|
|
date: '2024-08-23T15:00:00.000Z',
|
|
type: 'WORD',
|
|
cancelled: false,
|
|
},
|
|
}
|
|
|
|
export const Cancelled: Story = {
|
|
args: {
|
|
id: '1',
|
|
date: '2024-08-23T15:00:00.000Z',
|
|
type: 'WORD',
|
|
cancelled: true,
|
|
},
|
|
}
|