10 lines
418 B
TypeScript
10 lines
418 B
TypeScript
import { Loader2 } from "lucide-react";
|
|
|
|
const LoadingContent: React.FC<{ height: string, size: string, plane: string }> = ({ height = "h-16", size = "w-36 h-48", plane = "h-full w-full" }) => {
|
|
return <>
|
|
<div className={`flex items-center justify-center ${plane}`}>
|
|
<div className={height}><Loader2 className={`animate-spin ${size}`} /></div>
|
|
</div></>
|
|
}
|
|
|
|
export default LoadingContent |