Spaces:
Sleeping
Sleeping
File size: 444 Bytes
1e2f309 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import React from 'react';
interface LoaderProps {
message: string;
}
const Loader: React.FC<LoaderProps> = ({ message }) => {
return (
<div className="flex flex-col items-center justify-center space-y-4">
<div className="w-16 h-16 border-4 border-blue-400 border-dashed rounded-full animate-spin border-t-transparent"></div>
<p className="text-lg text-blue-300">{message}</p>
</div>
);
};
export default Loader;
|