Dateien nach "competitor-analysis/components" hochladen
This commit is contained in:
18
competitor-analysis/components/LoadingSpinner.tsx
Normal file
18
competitor-analysis/components/LoadingSpinner.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
|
||||
interface LoadingSpinnerProps {
|
||||
t: {
|
||||
message: string;
|
||||
}
|
||||
}
|
||||
|
||||
const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({ t }) => {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center p-10">
|
||||
<div className="w-16 h-16 border-4 border-light-accent dark:border-brand-accent border-t-brand-highlight rounded-full animate-spin"></div>
|
||||
<p className="mt-4 text-light-subtle dark:text-brand-light">{t.message}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LoadingSpinner;
|
||||
Reference in New Issue
Block a user