spinner.tsx
This file
Path
apps/web/src/components/ui/spinner.tsx
16 lines · 351 bytes · TypeScript
Last changed by
Give the web its W9 dependencies, components, project nav, line and revision helpers, and a stub for every new pageoscabrielbefore adoption254268a
History of this fileTake it
Give the web its W9 dependencies, components, project nav, line and revision helpers, and a stub for every new pageoscabrielbefore adoption254268a
lines 1–16why, one step back1import { cn } from "cn";2import { Loader2Icon } from "lucide-react";34function Spinner({ className, ...props }: React.ComponentProps<"svg">) {5 return (6 <Loader2Icon7 data-slot="spinner"8 role="status"9 aria-label="Loading"10 className={cn("size-4 animate-spin", className)}11 {...props}12 />13 );14}1516export { Spinner };