This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
MessageContentLeadingView
MessageContentLeadingView renders an optional prop-less slot to the left of the main message content body in MessageContent.
If you do not provide an override, nothing is rendered for this position. MessageContent only creates the horizontal wrapper for leading/trailing content when at least one of MessageContentLeadingView or MessageContentTrailingView is provided.
Props
This component does not receive props.
If you need message state such as alignment, message, or isMyMessage, read it with useMessageContext().