import type { Meta, StoryObj } from '@storybook/react-vite' import { ChatAssistantMessage } from './ChatAssistantMessage' const meta = { title: 'Components/Chat/ChatAssistantMessage', component: ChatAssistantMessage, tags: ['autodocs'], parameters: { layout: 'padded' }, } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { args: { message: 'Here is a summary of the latest quarterly report...', }, } export const ShortMessage: Story = { args: { message: 'Sure, I can help with that!', }, } export const LongMessage: Story = { args: { message: 'The contract includes standard indemnification language in Section 8. The liability cap is set at the total fees paid in the prior 12 months, which is typical for SaaS agreements. The indemnification covers IP infringement and gross negligence. I would recommend reviewing Section 12 for any unusual termination clauses before signing.', }, } export const MultipleMessages: Story = { args: { message: '' }, render: () => (
), }