import type { ValidComponent } from "solid-js"; import { Match, splitProps, Switch } from "solid-js"; import * as CheckboxPrimitive from "@kobalte/core/checkbox"; import type { PolymorphicProps } from "@kobalte/core/polymorphic"; import { cn } from "~/lib/utils"; type CheckboxRootProps = CheckboxPrimitive.CheckboxRootProps & { class?: string | undefined; }; const Checkbox = (props: PolymorphicProps>) => { const [local, others] = splitProps(props as CheckboxRootProps, ["class"]); return ( ); }; export { Checkbox };