import clsx from 'clsx';
import type { HTMLProps, ReactNode } from 'react';
import './style.scss';
const FormRadio = ( {
className,
label,
htmlFor,
...otherProps
}: {
className?: string;
label?: ReactNode;
htmlFor?: string;
} & Omit< HTMLProps< HTMLInputElement >, 'label' > ) => (
<>
{ label && ! htmlFor && { label } }
{ label && htmlFor && (
) }
>
);
export default FormRadio;