UNPKG

markdown-flow-ui

Version:

A React UI library for rendering markdown with interactive flow components, typewriter effects, and plugin support

20 lines (19 loc) 682 B
import { default as React } from 'react'; import { OnSendContentParams, CustomRenderBarProps } from '../types'; export interface MarkdownFlowProps { initialContentList?: { content: string; isFinished?: boolean; defaultInputText?: string; defaultButtonText?: string; readonly?: boolean; customRenderBar?: CustomRenderBarProps; }[]; customRenderBar?: CustomRenderBarProps; onSend?: (content: OnSendContentParams) => void; typingSpeed?: number; enableTypewriter?: boolean; onBlockComplete?: (blockIndex: number) => void; } declare const MarkdownFlow: React.FC<MarkdownFlowProps>; export default MarkdownFlow;