UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

21 lines (20 loc) 862 B
import { type ReactNode } from 'react'; import type { MarkdownProps } from "../../../Markdown"; import { ChatItemProps } from ".."; export interface MessageContentProps { editing?: ChatItemProps['editing']; fontSize?: number; markdownProps?: Omit<MarkdownProps, 'className' | 'style' | 'children'>; message?: ReactNode; messageExtra?: ChatItemProps['messageExtra']; onChange?: ChatItemProps['onChange']; onDoubleClick?: ChatItemProps['onDoubleClick']; onEditingChange?: ChatItemProps['onEditingChange']; placement?: ChatItemProps['placement']; primary?: ChatItemProps['primary']; renderMessage?: ChatItemProps['renderMessage']; text?: ChatItemProps['text']; type?: ChatItemProps['type']; } declare const MessageContent: import("react").NamedExoticComponent<MessageContentProps>; export default MessageContent;