import React, { forwardRef } from 'react'; export interface CheckboxProps extends Omit< React.InputHTMLAttributes, 'type' > { label?: React.ReactNode; labelClassName?: string; } export const Checkbox = forwardRef( ({ label, labelClassName = '', className = '', id, ...rest }, ref) => { if (label === undefined) { return ( ); } const classes = ['check', labelClassName].filter(Boolean).join(' '); return ( ); } ); Checkbox.displayName = 'Checkbox';