"use client"; import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox"; import type React from "react"; import { cn } from "@/lib/utils"; export function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props): React.ReactElement { return ( , state: CheckboxPrimitive.Indicator.State, ) => ( {state.indeterminate ? ( ) : ( )} )} /> ); } export { CheckboxPrimitive };