Holen Sie sich einen Ladespinner JavaScript React
$ npm install react-loader-spinner --save
Stupid Skipper
$ npm install react-loader-spinner --save
import Loader from "react-loader-spinner";
export default class App extends React.Component {
//other logic
render() {
return (
<Loader
type="Puff"
color="#00BFFF"
height={100}
width={100}
timeout={3000} //3 secs
/>
);
}
}