diff --git a/bun.lockb b/bun.lockb index 3ba9a05a..023e4397 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/bubble/demo/markdown.tsx b/components/bubble/demo/markdown.tsx index 4d4e01c7..844ed75c 100644 --- a/components/bubble/demo/markdown.tsx +++ b/components/bubble/demo/markdown.tsx @@ -14,12 +14,15 @@ const text = ` Link: [Ant Design X](https://x.ant.design) `.trim(); -const renderMarkdown: BubbleProps['messageRender'] = (content) => ( - - {/* biome-ignore lint/security/noDangerouslySetInnerHtml: used in demo */} -
- -); +const renderMarkdown: BubbleProps['messageRender'] = (content) => { + console.log('content', content); + return ( + + {/* biome-ignore lint/security/noDangerouslySetInnerHtml: used in demo */} +
+ + ); +}; const App = () => { const [renderKey, setRenderKey] = React.useState(0); diff --git a/components/index.ts b/components/index.ts index 83918a7a..eaf04862 100644 --- a/components/index.ts +++ b/components/index.ts @@ -10,7 +10,7 @@ export { default as Bubble } from './bubble'; export type { BubbleProps } from './bubble'; export { default as Conversations } from './conversations'; -export type { ConversationsProps } from './conversations'; +export type { ConversationsProps, Conversation } from './conversations'; export { default as Prompts } from './prompts'; export type { PromptsProps, PromptProps } from './prompts';