mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-14 01:32:19 +00:00
Claude experiments
This commit is contained in:
committed by
Elisiário Couto
parent
46f3f5c498
commit
26487cff89
16
frontend/src/components/LoadingSpinner.tsx
Normal file
16
frontend/src/components/LoadingSpinner.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { RefreshCw } from 'lucide-react';
|
||||
|
||||
interface LoadingSpinnerProps {
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export default function LoadingSpinner({ message = 'Loading...' }: LoadingSpinnerProps) {
|
||||
return (
|
||||
<div className="flex items-center justify-center p-8">
|
||||
<div className="text-center">
|
||||
<RefreshCw className="h-8 w-8 animate-spin text-blue-600 mx-auto mb-2" />
|
||||
<p className="text-gray-600 text-sm">{message}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user