import type { Meta, StoryObj } from '@storybook/react-vite';
import { WishlistView } from './WishlistView';

import { ToastProvider } from '../../components/feedback/ToastProvider';

const meta: Meta<typeof WishlistView> = {
    title: 'Components/Features/Commerce/WishlistView',
    component: WishlistView,
    parameters: { layout: 'fullscreen' },
    tags: ['autodocs'],
    decorators: [
        (Story) => (
            <ToastProvider>
                <div className="bg-background min-h-screen">
                    <Story />
                </div>
            </ToastProvider>
        ),
    ],
};

export default meta;
type Story = StoryObj<typeof meta>;

export const Default: Story = { name: 'Par défaut' };
export const Empty: Story = { name: 'Vide' };
