mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
Grafana UI: Fix fullWidth prop (#23280)
This commit is contained in:
parent
b4382fff8c
commit
ab283fe827
@ -49,7 +49,7 @@ export function RadioButtonGroup<T>({
|
||||
disabled,
|
||||
disabledOptions,
|
||||
size = 'md',
|
||||
fullWidth,
|
||||
fullWidth = false,
|
||||
}: RadioButtonGroupProps<T>) {
|
||||
const handleOnChange = useCallback(
|
||||
(option: SelectableValue<T>) => {
|
||||
@ -78,7 +78,7 @@ export function RadioButtonGroup<T>({
|
||||
onChange={handleOnChange(o)}
|
||||
id={`option-${o.value}-${id}`}
|
||||
name={groupName.current}
|
||||
fullWidth
|
||||
fullWidth={fullWidth}
|
||||
>
|
||||
{o.label}
|
||||
</RadioButton>
|
||||
|
Loading…
Reference in New Issue
Block a user