import type { Meta, StoryObj } from '@storybook/react';
import { DeveloperDashboardView } from './DeveloperDashboardView';
import { ToastProvider } from '../../components/feedback/ToastProvider';

const meta: Meta<typeof DeveloperDashboardView> = {
    title: 'Components/Features/Developer/DeveloperDashboardView',
    component: DeveloperDashboardView,
    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' };
