import clsx from "clsx" import React, { ReactNode, useImperativeHandle } from "react" export type CheckboxProps = React.InputHTMLAttributes & { label: ReactNode } const Checkbox = React.forwardRef( ({ label, value, className, id, ...rest }: CheckboxProps, ref) => { const checkboxRef = React.useRef(null) useImperativeHandle(ref, () => checkboxRef.current) return ( ) } ) export default Checkbox