veza/apps/web/src/components/views/NotificationsView.stories.tsx
senke d00d08b6dc style(views): elevate NotificationsView to SaaS Premium standards
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 09:40:29 +01:00

35 lines
791 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { NotificationsView, NotificationsViewSkeleton } from './notifications-view';
const meta: Meta<typeof NotificationsView> = {
title: 'Components/Features/Views/NotificationsView',
component: NotificationsView,
parameters: { layout: 'fullscreen' },
tags: ['autodocs'],
decorators: [
(Story) => (
<div className="bg-background min-h-layout-page">
<Story />
</div>
),
],
};
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
name: 'Par défaut',
};
export const Loading: Story = {
render: () => <NotificationsViewSkeleton />,
name: 'Chargement',
};
export const Empty: Story = {
args: {
initialNotifications: [],
},
name: 'Vide',
};