diff --git a/pkgs/clan-app/ui/src/components/Form/Checkbox.tsx b/pkgs/clan-app/ui/src/components/Form/Checkbox.tsx index 8226a648c..6f30de3e8 100644 --- a/pkgs/clan-app/ui/src/components/Form/Checkbox.tsx +++ b/pkgs/clan-app/ui/src/components/Form/Checkbox.tsx @@ -24,6 +24,14 @@ export const Checkbox = (props: CheckboxProps) => { // we need to separate output the input otherwise it interferes with prop binding const [_, rootProps] = splitProps(props, ["input"]); + const [styleProps, otherRootProps] = splitProps(rootProps, [ + "class", + "size", + "orientation", + "inverted", + "ghost", + ]); + const alignment = () => (props.orientation || "vertical") == "vertical" ? "start" : "center"; @@ -47,14 +55,21 @@ export const Checkbox = (props: CheckboxProps) => { return ( {(state) => ( - +