|
|
@@ -7,7 +7,7 @@ import { LoadingSpinner } from '../LoadingSpinner';
|
|
|
/**
|
|
|
* Props for {@link G2GDataTransferStatusIcon}
|
|
|
*/
|
|
|
-interface Props extends ComponentPropsWithoutRef<'i'>{
|
|
|
+interface Props extends ComponentPropsWithoutRef<'span'>{
|
|
|
status: G2GProgressStatus;
|
|
|
}
|
|
|
|
|
|
@@ -17,8 +17,7 @@ interface Props extends ComponentPropsWithoutRef<'i'>{
|
|
|
const G2GDataTransferStatusIcon = ({ status, className, ...props }: Props): JSX.Element => {
|
|
|
if (status === G2G_PROGRESS_STATUS.IN_PROGRESS) {
|
|
|
return (
|
|
|
- // TODO: Replace Loading Spinner "Pulse" icon
|
|
|
- <span className={`${className}`} aria-label="in progress" {...props}><LoadingSpinner /></span>
|
|
|
+ <LoadingSpinner className={`${className}`} aria-label="in progress" {...props} />
|
|
|
);
|
|
|
}
|
|
|
|