# 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

| Prop         | Description                                                                         | Type     |
| ------------ | ----------------------------------------------------------------------------------- | -------- |
| `attachment` | Attachment object that could not be rendered by a specialized attachment component. | `object` |


---

This page was last updated at 2026-04-17T17:33:45.775Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/ui-components/unsupported-attachment/](https://getstream.io/chat/docs/sdk/react-native/ui-components/unsupported-attachment/).