mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
- Added 75+ documentation files for 100% component coverage - Synced 7 new components from shadcn/ui v3.4.0 (button-group, empty, field, input-group, item, kbd, spinner) - Implemented 5 production components (iPhone 15 Pro, Safari, Color Picker, Dropzone, QR Code) - Updated primary brand color to electric blue (210 100% 50%) - Fixed duplicate package conflict and build issues - Added CodeTabs MDX component for better docs - Removed conflicting packages/ui directory - Total: 149 docs, 115+ real components, 39 stubs remaining
17 lines
331 B
TypeScript
17 lines
331 B
TypeScript
import { Loader2Icon } from "lucide-react"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
return (
|
|
<Loader2Icon
|
|
role="status"
|
|
aria-label="Loading"
|
|
className={cn("size-4 animate-spin", className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Spinner }
|