Update radio buttons

This commit is contained in:
2026-02-14 16:55:54 -05:00
parent 6c86fdd58b
commit 1743ed6ce4
11 changed files with 33 additions and 99 deletions

View File

@@ -1,25 +1,19 @@
import type { RadioButtonProps } from "$/types/InputTypes";
import clsx from "clsx";
import { forwardRef } from "react";
import RadioButton from "./RadioButton";
const InfoRadioButton = forwardRef<HTMLInputElement, RadioButtonProps>(({
export default function InfoRadioButton({
className,
...props
}, ref ) => {
}: Readonly<RadioButtonProps>){
return (
<RadioButton
className={clsx(
"group-data-checked:bg-cyan-500",
className
)}
ref={ref}
{...props}
/>
);
});
InfoRadioButton.displayName = "InfoRadioButton";
export default InfoRadioButton;
}