church-website/src/components/AdminMenu/AdminMenu.stories.tsx
2026-04-16 15:06:37 +02:00

32 lines
595 B
TypeScript

import { Meta, StoryObj } from '@storybook/nextjs-vite'
import { AdminMenu } from './AdminMenu'
const meta: Meta<typeof AdminMenu> = {
component: AdminMenu,
}
type Story = StoryObj<typeof AdminMenu>
export default meta
export const Authenticated: Story = {
args: {
collection: 'blog',
id: 'some_id',
isAuthenticated: true,
},
}
export const AuthenticatedWithoutId: Story = {
args: {
collection: 'blog',
isAuthenticated: true,
},
}
export const NotAuthenticated: Story = {
args: {
collection: 'blog',
id: 'some_id',
isAuthenticated: false,
},
}