- Implementation
- UserMessage Props
Common Examples
To use theUserMessage, pass content and a required timestamp. The bubble right-aligns. The kit forbids children.content accepts a string or composed React Native nodes. Copy is text-only: pass copyText when content is rich so the copy action stays available. The kit does not write to the clipboard. Provide onCopy to show the copy control.Error and retry
Passerror to render a failure line under the bubble. onRetry only appears when error is also set.Accessibility
- The toolbar groups user actions with the timestamp.
- Retry is available only when
erroris set. - Built-in toolbar labels are English until the kit gains an i18n layer.