UniveralList
This commit is contained in:
11
002.FRONTEND/src/components/common/LoadingSpinner.jsx
Normal file
11
002.FRONTEND/src/components/common/LoadingSpinner.jsx
Normal file
@@ -0,0 +1,11 @@
|
||||
// src/components/common/LoadingSpinner.jsx
|
||||
import { h } from 'preact';
|
||||
|
||||
export default function LoadingSpinner({ text = "Učitavanje podataka..." }) {
|
||||
return (
|
||||
<div class="flex items-center justify-center p-12 text-gray-500">
|
||||
<div class="animate-spin mr-3 h-5 w-5 border-2 border-gray-400 border-t-transparent rounded-full"></div>
|
||||
{text}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user