Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 77x 77x 385x 385x 309x 76x 77x | import React, { memo, FunctionComponent } from 'react';
export interface LoadingSpinnerProps {
isLoading: boolean;
}
const LoadingSpinner: FunctionComponent<LoadingSpinnerProps> = ({
isLoading,
}) => {
if (!isLoading) {
return null;
}
return (
<div
className="loadingSpinner loadingOverlay-container"
style={ { height: 100 } }
>
<div className="loadingOverlay optimizedCheckout-overlay" />
</div>
);
};
export default memo(LoadingSpinner);
|