@@ -7,9 +7,9 @@ import { LocalAudioAttachment, LocalFileAttachment, LocalVideoAttachment } from
77import { AttachmentRemoveControl } from './AttachmentRemoveControl' ;
88
99import {
10- InlineNotSupportedIndicator ,
11- InlineRetryIndicator ,
12- InProgressIndicator ,
10+ FileUploadNotSupportedIndicator ,
11+ FileUploadRetryIndicator ,
12+ FileUploadInProgressIndicator ,
1313} from './AttachmentUploadProgressIndicator' ;
1414
1515import { FilePreview } from '../../../../components/Attachment/FilePreview' ;
@@ -56,13 +56,13 @@ export const FileAttachmentUploadPreview = ({
5656
5757 const renderIndicator = useMemo ( ( ) => {
5858 if ( indicatorType === ProgressIndicatorTypes . IN_PROGRESS ) {
59- return < InProgressIndicator /> ;
59+ return < FileUploadInProgressIndicator /> ;
6060 }
6161 if ( indicatorType === ProgressIndicatorTypes . RETRY ) {
62- return < InlineRetryIndicator onPress = { onRetryHandler } /> ;
62+ return < FileUploadRetryIndicator onPress = { onRetryHandler } /> ;
6363 }
6464 if ( indicatorType === ProgressIndicatorTypes . NOT_SUPPORTED ) {
65- return < InlineNotSupportedIndicator localMetadata = { attachment . localMetadata } /> ;
65+ return < FileUploadNotSupportedIndicator localMetadata = { attachment . localMetadata } /> ;
6666 }
6767 return null ;
6868 } , [ attachment . localMetadata , indicatorType , onRetryHandler ] ) ;
0 commit comments