UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

15 lines (14 loc) 600 B
import React, { ReactNode } from 'react'; import { Message, Metadata, RenderContentProps, MarkdownRenderProps } from '../interface'; import { MDXProps } from 'mdx/types'; interface ChatBoxContentProps { mode?: 'bubble' | 'noBubble' | 'userBubble'; customMarkDownComponents?: MDXProps['components']; children?: string; role?: Metadata; message?: Message; customRenderFunc?: (props: RenderContentProps) => ReactNode; markdownRenderProps?: MarkdownRenderProps; } declare const ChatBoxContent: (props: ChatBoxContentProps) => React.JSX.Element; export default ChatBoxContent;