23 lines
672 B
TypeScript
23 lines
672 B
TypeScript
|
|
import type { Meta, StoryObj } from '@storybook/react';
|
||
|
|
import { VirtualizedChatMessages } from './VirtualizedChatMessages';
|
||
|
|
|
||
|
|
const meta: Meta<typeof VirtualizedChatMessages> = {
|
||
|
|
title: 'Features/Chat/VirtualizedChatMessages',
|
||
|
|
component: VirtualizedChatMessages,
|
||
|
|
parameters: { layout: 'padded' },
|
||
|
|
tags: ['autodocs'],
|
||
|
|
decorators: [
|
||
|
|
(Story) => (
|
||
|
|
<div className="bg-kodo-background p-4 min-h-screen">
|
||
|
|
<Story />
|
||
|
|
</div>
|
||
|
|
),
|
||
|
|
],
|
||
|
|
};
|
||
|
|
|
||
|
|
export default meta;
|
||
|
|
type Story = StoryObj<typeof meta>;
|
||
|
|
|
||
|
|
export const Default: Story = { name: 'Par défaut' };
|
||
|
|
export const Loading: Story = { name: 'Chargement' };
|