Update themed components with refs and css

This commit is contained in:
2026-02-10 21:09:36 -05:00
parent 456feed128
commit 2e54b81d8f
72 changed files with 1147 additions and 562 deletions

View File

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