import type { RadioButtonProps } from "$/types/InputTypes"; import { Radio } from "@headlessui/react"; import clsx from "clsx"; import { forwardRef } from "react"; const RadioButton = forwardRef(({ id = crypto.randomUUID().replaceAll("-", ""), className, labelClassName, size = "sm", value, disabled, children }, ref ) => { return (
{ children && {children} } ); }); RadioButton.displayName = "RadioButton"; export default RadioButton;