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 |