From 4bdfc40cad9054eeab920e17a62e06377e96a977 Mon Sep 17 00:00:00 2001 From: benalleng Date: Sun, 1 Oct 2023 10:28:14 -0400 Subject: [PATCH] whole button is selectable for styledRadiogroup --- src/components/layout/Radio.tsx | 50 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/src/components/layout/Radio.tsx b/src/components/layout/Radio.tsx index 82203f9..0081e39 100644 --- a/src/components/layout/Radio.tsx +++ b/src/components/layout/Radio.tsx @@ -60,36 +60,38 @@ export function StyledRadioGroup(props: { }} disabled={choice.disabled} > -
+
- - - - -
-
+ - {choice.label} -
- -
- {choice.caption} + + +
+
+ {choice.label}
- + +
+ {choice.caption} +
+
+