react spinkit code example
Example 1: react-spinners
import { ClipLoader, BarLoader, BeatLoader, BounceLoader, CircleLoader, ClimbingBoxLoader } from "react-spinners";
function App() {
return (
<div style={{ alignItems: "center", display: "flex" }}>
<CircleLoader />
<ClimbingBoxLoader />
<BounceLoader />
<BeatLoader />
<BarLoader />
<ClipLoader />
</div>
);
}
export default App;
Example 2: react spinkit
$ npm install react-spinkit --save