markdown-flow-ui
Version:
A React UI library for rendering markdown with interactive flow components, typewriter effects, and plugin support
12 lines (11 loc) • 324 B
TypeScript
type OnSendContentParams = {
buttonText?: string;
variableName?: string;
inputText?: string;
};
type CustomRenderBarProps = React.ComponentType<{
content?: string;
onSend?: (content: OnSendContentParams) => void;
displayContent: string;
}>;
export type { OnSendContentParams, CustomRenderBarProps };