spining load react component

Solutions on MaxInterview for spining load react component by the best coders in the world

showing results for - "spining load react component"
Amine
16 May 2020
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}