mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TimeRangeOption: Make entire list item clickable #37730
This commit is contained in:
parent
06368abf44
commit
5b575ae91f
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user