|
@@ -1,5 +1,9 @@
|
|
|
-import React, { type ComponentPropsWithoutRef } from 'react';
|
|
|
|
|
|
|
+import type { ComponentPropsWithoutRef } from 'react';
|
|
|
|
|
+
|
|
|
|
|
+import styles from './LoadingSpinner.module.scss';
|
|
|
|
|
+
|
|
|
|
|
+const moduleClass = styles.spinner ?? '';
|
|
|
|
|
|
|
|
export const LoadingSpinner = ({ className = '' }: ComponentPropsWithoutRef<'span'>): JSX.Element => (
|
|
export const LoadingSpinner = ({ className = '' }: ComponentPropsWithoutRef<'span'>): JSX.Element => (
|
|
|
- <span className={`material-symbols-outlined pb-0 spinner ${className}`}>progress_activity</span>
|
|
|
|
|
|
|
+ <span className={`material-symbols-outlined pb-0 ${moduleClass} ${className}`}>progress_activity</span>
|
|
|
);
|
|
);
|