1import Loader from "react-loader-spinner";
2export default class App extends React.Component {
3 //other logic
4 render() {
5 return (
6 <Loader
7 type="Puff"
8 color="#00BFFF"
9 height={100}
10 width={100}
11 timeout={3000} //3 secs
12 />
13 );
14 }
15}