This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
UnsupportedAttachment
UnsupportedAttachment is the fallback renderer for custom or unrecognized attachment types.
Best Practices
- Keep fallback UI minimal and non-blocking.
- Provide clear messaging for unsupported types.
- Avoid throwing errors for unknown attachment payloads.
- Reuse this component rather than branching in
Attachment. - Keep styling consistent with other attachment containers.
Props
attachment
Attachment object that could not be rendered by a specialized attachment component.
| Type |
|---|
object |