mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 23:10:00 +02:00
minor visual enhancements
This commit is contained in:
parent
89a59b25fc
commit
0e38f58a7f
37 changed files with 1195 additions and 1154 deletions
21
src/components/PlaceHolderLoader.tsx
Normal file
21
src/components/PlaceHolderLoader.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import { Loader2 } from "lucide-react"; // Ensure you have lucide-react installed
|
||||
|
||||
interface LoaderProps {
|
||||
height?: string;
|
||||
}
|
||||
|
||||
const LoaderPlaceholder: React.FC<LoaderProps> = ({ height = "100px" }) => {
|
||||
return (
|
||||
<div
|
||||
className="flex items-center justify-center w-full"
|
||||
style={{ height }}
|
||||
>
|
||||
<Loader2 className="animate-spin" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LoaderPlaceholder;
|
Loading…
Add table
Add a link
Reference in a new issue