markdown-flow-ui
Version:
A React UI library for rendering markdown with interactive flow components, typewriter effects, and plugin support
16 lines (15 loc) • 537 B
TypeScript
import { default as React } from 'react';
import { OnSendContentParams, CustomRenderBarProps } from '../types';
export interface ContentRenderProps {
content: string;
customRenderBar?: CustomRenderBarProps;
onSend?: (content: OnSendContentParams) => void;
typingSpeed?: number;
enableTypewriter?: boolean;
defaultButtonText?: string;
defaultInputText?: string;
readonly?: boolean;
onTypeFinished?: () => void;
}
declare const ContentRender: React.FC<ContentRenderProps>;
export default ContentRender;