loader component is created

This commit is contained in:
Prathamesh Gursal
2024-10-01 23:07:44 +05:30
parent 3b4a95ef33
commit 3683d4a759

View File

@@ -0,0 +1,15 @@
import React from 'react';
const Loader: React.FC = () => {
return (
<div className="flex justify-center items-center min-h-screen bg-gray-900">
<div className="relative w-20 h-20">
<div className="absolute top-0 left-0 w-16 h-16 border-t-4 border-blue-500 rounded-full animate-spin"></div>
<div className="absolute top-0 left-0 w-16 h-16 border-t-4 border-pink-500 rounded-full animate-spin delay-150"></div>
<div className="absolute top-0 left-0 w-16 h-16 border-t-4 border-green-500 rounded-full animate-spin delay-300"></div>
</div>
</div>
);
};
export default Loader;