import type { Meta, StoryObj } from '@storybook/react'; import { ChatInterface } from './ChatInterface'; import { ChatInterfaceSkeleton } from './chat-interface'; const meta = { title: 'Components/Features/Chat/ChatInterface', component: ChatInterface, tags: ['autodocs'], argTypes: { onRoomChange: { action: 'room changed' }, }, decorators: [ (Story) => (
), ], } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { args: { room: 'general', }, }; export const ProductionRoom: Story = { args: { room: 'production-help', }, }; export const Loading: Story = { name: 'Loading', render: () => , };