TimeRangeOption: Make entire list item clickable #37730 (#37735)

(cherry picked from commit 5b575ae91f)

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)andTobias Skarhed authored and GitHub committed 2021-08-10 14:10:44 +02:00
1 parent a0f7d34bda
commit b22b337c87
1 file changed
+1 -1
@@ -52,7 +52,7 @@ export const TimeRangeOption = memo<Props>(({ value, onSelect, selected = false,
const id = uuidv4();
return (
<li className={cx(styles.container, selected && styles.selected)}>
<li onClick={() => onSelect(value)} className={cx(styles.container, selected && styles.selected)}>
<input
className={styles.radio}
checked={selected}