StreamText
StreamText(
__namedParameters):Element
Defined in: stream-text.tsx:51
StreamText - Display streaming text with optional cursor.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”Element
Example
Section titled “Example”import { StreamText } from 'ai.matey.react.stream';
function ChatMessage({ text, isStreaming }) { return ( <StreamText text={text} isStreaming={isStreaming} showCursor={true} /> );}