From 0245e3d27c66e14df6cab7c29e9065c065dadd0c Mon Sep 17 00:00:00 2001 From: nxtkofi Date: Tue, 21 Apr 2026 20:52:56 +0200 Subject: [PATCH] fix(ui): forward strokeWidth prop in Spinner Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/components/ui/spinner.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ui/spinner.tsx b/src/components/ui/spinner.tsx index abe52c9..3f19332 100644 --- a/src/components/ui/spinner.tsx +++ b/src/components/ui/spinner.tsx @@ -2,9 +2,10 @@ import { cn } from "@/lib/utils" import { HugeiconsIcon } from "@hugeicons/react" import { Loading03Icon } from "@hugeicons/core-free-icons" -function Spinner({ className, ...props }: React.ComponentProps<"svg">) { +function Spinner({ className, strokeWidth, ...props }: React.ComponentProps<"svg">) { + const width = typeof strokeWidth === 'number' ? strokeWidth : 2; return ( - + ) }