Skip to content

StreamTextProps

Defined in: stream-text.tsx:14

StreamText props.

optional children: ReactNode

Defined in: stream-text.tsx:30

Children to render after text


optional className: string

Defined in: stream-text.tsx:26

Custom className


optional cursor: string

Defined in: stream-text.tsx:22

Cursor character


optional cursorBlinkInterval: number

Defined in: stream-text.tsx:24

Cursor blink interval in ms


optional isStreaming: boolean

Defined in: stream-text.tsx:18

Whether streaming is active


optional renderText: (text) => ReactNode

Defined in: stream-text.tsx:28

Custom render function

string

ReactNode


optional showCursor: boolean

Defined in: stream-text.tsx:20

Show cursor while streaming


text: string

Defined in: stream-text.tsx:16

Text to display