Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

399 B
Raw Blame
import { cn } from "@/lib/utils";

import styles from "./loading-spinner.module.css";

export default function LoadingSpinner({ className }: { className?: string }) {
  return (
    <div className={cn("h-5 w-5", className)}>
      <div className={cn(styles.spinner, "h-5 w-5", className)}>
        {[...Array(12)].map((_, i) => (
          <div key={i} />
        ))}
      </div>
    </div>
  );
}