@connectycube/react-ui-kit 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,9 @@ import { LoaderCircle } from 'lucide-react';
|
|
|
2
2
|
import { cn } from './utils';
|
|
3
3
|
|
|
4
4
|
function AnimatedLoader({ loading = true, className }) {
|
|
5
|
-
return loading ?
|
|
5
|
+
return loading ? (
|
|
6
|
+
<LoaderCircle strokeWidth={3} className={cn('animate-spin mx-auto text-gray-600', className)} />
|
|
7
|
+
) : null;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
AnimatedLoader.displayName = 'AnimatedLoader';
|
package/package.json
CHANGED
|
@@ -7,7 +7,9 @@ interface AnimatedLoaderProps extends LucideProps {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
function AnimatedLoader({ loading = true, className }: AnimatedLoaderProps) {
|
|
10
|
-
return loading ?
|
|
10
|
+
return loading ? (
|
|
11
|
+
<LoaderCircle strokeWidth={3} className={cn('animate-spin mx-auto text-gray-600', className)} />
|
|
12
|
+
) : null;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
AnimatedLoader.displayName = 'AnimatedLoader';
|