- Implementation
- AgentMessage Props
Common Examples
To use theAgentMessage, pass content and a required timestamp. The row left-aligns the content and reserves an inline-end gutter. 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.Feedback
WireonLike and onDislike to show thumbs. The component reflects currentFeedback; toggling is yours.Accessibility
- The toolbar groups assistant actions.
- Timestamp is always present in the toolbar.
- Feedback buttons announce like, dislike, and selected state.
- Built-in toolbar labels are English until the kit gains an i18n layer.