import type { Meta, StoryObj } from '@storybook/react';
import { OrderSummary } from './OrderSummary';

const meta: Meta<typeof OrderSummary> = {
    title: 'Components/Features/Commerce/OrderSummary',
    component: OrderSummary,
    parameters: { layout: 'padded' },
    tags: ['autodocs'],
    decorators: [
        (Story) => (
            <div className="bg-kodo-background p-4 max-w-md">
                <Story />
            </div>
        ),
    ],
};

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

export const Default: Story = { name: 'Par défaut' };
export const WithDiscount: Story = { name: 'Avec réduction' };
