import { InputHTMLAttributes } from "react"
import * as CheckboxComponent from "@radix-ui/react-checkbox"
import { CheckboxProps as CheckboxComponentProps } from "@radix-ui/react-checkbox"
import { Icons } from "../icons"
type CheckboxInputProps = InputHTMLAttributes &
CheckboxComponentProps
interface CheckboxProps extends CheckboxInputProps {
label: string
name: string
}
const Checkbox = ({ label, name, checked, ...props }: CheckboxProps) => {
return (
{label && (
)}
)
}
Checkbox.displayName = "Checkbox"
export { Checkbox }