AiResponse
Use the AiResponse component to animate AI-generated content.
AiResponseProps
extends
, , , , | Name | Type | Default | Description |
|---|---|---|---|
children | | The content to be displayed as markdown. | |
onAnimationStateChange? | (isAnimating: ) => | | Callback that is called whenever the animation state changes. |
responseState? | | | | 'streaming' | Controls how the content is rendered and animated.
|