AttachmentUploadProgressIndicator
AttachmentUploadProgressIndicator docs the indicator components used by upload previews.
These are the default inline indicators shown for in-progress, retryable, and not-supported attachment upload states.
Components
FileUploadInProgressIndicator
Shown while a file/audio upload is actively in progress.
ImageUploadInProgressIndicator
Shown while an image/video upload is actively in progress.
Props
FileUploadRetryIndicator
| Prop | Description | Type |
|---|---|---|
onPress | Callback fired when the retry indicator is pressed. | () => void |
FileUploadNotSupportedIndicator
| Prop | Description | Type |
|---|---|---|
localMetadata | Upload metadata for the unsupported file attachment. | LocalAttachmentUploadMetadata |
ImageUploadRetryIndicator
| Prop | Description | Type |
|---|---|---|
onRetryHandler | Callback fired when the retry indicator is pressed. | () => void |
ImageUploadNotSupportedIndicator
| Prop | Description | Type |
|---|---|---|
localMetadata | Upload metadata for the unsupported image attachment. | LocalAttachmentUploadMetadata |