veza/apps/web/src/features/library/pages/LibraryPage.stories.tsx

28 lines
838 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { LibraryPage } from './LibraryPage';
import { withRouter, withQueryClient, withToast, withAudio } from '../../../stories/decorators';
const meta: Meta<typeof LibraryPage> = {
title: 'Pages/Library/LibraryPage',
component: LibraryPage,
parameters: { layout: 'fullscreen' },
tags: ['autodocs'],
decorators: [
withRouter,
withQueryClient,
withToast,
withAudio,
(Story) => (
<div className="bg-kodo-background min-h-screen">
<Story />
</div>
),
],
};
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = { name: 'Par défaut' };
export const Empty: Story = { name: 'Vide' };
export const Loading: Story = { name: 'Chargement' };