Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions components/Loading/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@

import { ClipLoader} from "react-spinners"

const Loading = () => {
return (
<>
<div className="w-full h-full flex justify-center item-center">
<div className="size-24 animate-spin rounded-full border-b-2 border-[#0354EC]"></div>
</div>
</>
<div className="spinner w-full h-full flex justify-center items-center">
<ClipLoader
color="#0354EC"
size={80}
speedMultiplier = {1}
/>
</div>
)
}

export default Loading;



// const Loading = () => {
// return (
// <>
// <div className="w-full h-full flex justify-center item-center">
// <div className="size-24 animate-spin rounded-full border-b-2 border-[]"></div>
// </div>
// </>
// )
// }

// export default Loading;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"react-modal-video": "^2.0.2",
"react-quill": "^2.0.0",
"react-simple-maps": "^3.0.0",
"react-spinners": "^0.13.8",
"react-syntax-highlighter": "^15.5.0",
"react-toastify": "^9.1.3",
"reactflow": "^11.11.3",
Expand Down