import { CheckIcon, XIcon } from "@/assets/icons"; import { cn } from "@/lib/utils"; import { useId } from "react"; type PropsType = { withIcon?: "check" | "x"; withBg?: boolean; label: string; name?: string; minimal?: boolean; onChange?: (e: React.ChangeEvent) => void; radius?: "default" | "md"; }; export function Checkbox({ withIcon, label, name, withBg, minimal, onChange, radius, }: PropsType) { const id = useId(); return (
); }