Template
11 lines
345 B
TypeScript
11 lines
345 B
TypeScript
import { cn } from "@/lib/utils"
|
|
import { RiLoader4Line } from "@remixicon/react"
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<typeof RiLoader4Line>) {
|
|
return (
|
|
<RiLoader4Line data-slot="spinner" role="status" aria-label="Loading" className={cn("size-4 animate-spin", className)} {...props} />
|
|
)
|
|
}
|
|
|
|
export { Spinner }
|