From c65d222ee0bae2277900dd500d9f59bb91ff48c8 Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Wed, 2 Apr 2025 23:28:55 +1000 Subject: [PATCH] feat(ui): add className prop to Checkbox component to allow custom styling --- ui/src/components/Checkbox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/Checkbox.tsx b/ui/src/components/Checkbox.tsx index 261a425..e3237b1 100644 --- a/ui/src/components/Checkbox.tsx +++ b/ui/src/components/Checkbox.tsx @@ -37,11 +37,11 @@ type CheckBoxProps = { } & Omit; const Checkbox = forwardRef(function Checkbox( - { size = "MD", ...props }, + { size = "MD", className, ...props }, ref, ) { const classes = checkboxVariants({ size }); - return ; + return ; }); Checkbox.displayName = "Checkbox";