chore: add more stories (#27142)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
非法操作
2025-10-20 18:30:52 +08:00
committed by GitHub
parent d7d9abb007
commit fd845c8b6c
22 changed files with 7421 additions and 2 deletions

View File

@@ -1,7 +1,5 @@
import type { Meta, StoryObj } from '@storybook/nextjs'
import type { ChatItem } from '../../types'
import { mockedWorkflowProcess } from './__mocks__/workflowProcess'
import { markdownContent } from './__mocks__/markdownContent'
import { markdownContentSVG } from './__mocks__/markdownContentSVG'
import Answer from '.'
@@ -34,6 +32,11 @@ const mockedBaseChatItem = {
content: 'Hello, how can I assist you today?',
} satisfies ChatItem
const mockedWorkflowProcess = {
status: 'succeeded',
tracing: [],
}
export const Basic: Story = {
args: {
item: mockedBaseChatItem,