Commit ab283fe8 by Alex Khomenko Committed by GitHub

Grafana UI: Fix fullWidth prop (#23280)

parent b4382fff
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment