950f9555ee
* fix(ui): update coss ui components * fix(sidebar): remove redundant overflow-auto from SidebarContent ScrollArea already provides the scroll container, so keeping overflow-auto on the child creates a nested scroll area and prevents scrollFade from reflecting actual overflow. Addresses Cubic AI review feedback with confidence 9/10. Co-Authored-By: unknown <> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
19 lines
351 B
TypeScript
19 lines
351 B
TypeScript
import { Loader2Icon } from "lucide-react";
|
|
import { cn } from "@coss/ui/lib/utils";
|
|
|
|
function Spinner({
|
|
className,
|
|
...props
|
|
}: React.ComponentProps<typeof Loader2Icon>) {
|
|
return (
|
|
<Loader2Icon
|
|
aria-label="Loading"
|
|
className={cn("animate-spin", className)}
|
|
role="status"
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Spinner };
|