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

PropDescriptionType
attachmentAttachment object that could not be rendered by a specialized attachment component.object