refactoring

This commit is contained in:
simon.franken
2026-02-18 10:26:15 +01:00
parent 27ec450d3b
commit 6a6a3ba00b
18 changed files with 386 additions and 371 deletions

View File

@@ -0,0 +1,12 @@
interface SpinnerProps {
/** Height/width class (default: h-12 w-12) */
size?: string;
}
export function Spinner({ size = 'h-12 w-12' }: SpinnerProps) {
return (
<div className="flex items-center justify-center h-64">
<div className={`animate-spin rounded-full ${size} border-b-2 border-primary-600`} />
</div>
);
}