Simple React material loading spinner animated svg
import Loader to the project using below code
import Loader from "react_material_loading_spinner";
and use the Loader component as shown below
<Loader color={'color'} thickness={thickness} size={size}>
color indicates the color of the spinner, value = string
thickness indicates the thickness of the stroke, value = number
size indicates the loading spinner size, value = number .