mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Radio Button and Checkbox Created
This commit is contained in:
19
lib/component/input/radio/SecondaryRadioButton.tsx
Normal file
19
lib/component/input/radio/SecondaryRadioButton.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { RadioButtonProps } from "$/types/Input";
|
||||
import clsx from "clsx";
|
||||
import RadioButton from "./RadioButton";
|
||||
|
||||
|
||||
export default function SecondaryRadioButton({
|
||||
className,
|
||||
...props
|
||||
}: RadioButtonProps){
|
||||
return (
|
||||
<RadioButton
|
||||
className={clsx(
|
||||
"group-data-checked:bg-neutral-600",
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user