Skip to content

Commit 7f187ef

Browse files
committed
change where style is applied
1 parent 96c1ef3 commit 7f187ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chartlets.js/packages/lib/src/plugins/mui/RadioGroup.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import MuiFormControlLabel from "@mui/material/FormControlLabel";
66
import MuiFormLabel from "@mui/material/FormLabel";
77
import { Tooltip } from "./Tooltip";
88

9-
import type { ComponentState, ComponentProps } from "@/index";
9+
import type { ComponentProps, ComponentState } from "@/index";
1010

1111
interface RadioState extends ComponentState {
1212
type: "Radio";
@@ -54,13 +54,14 @@ export function RadioGroup({
5454
};
5555
return (
5656
<Tooltip title={tooltip}>
57-
<MuiFormControl style={style} disabled={disabled}>
57+
<MuiFormControl disabled={disabled}>
5858
<MuiFormLabel>{label}</MuiFormLabel>
5959
<MuiRadioGroup
6060
id={id}
6161
name={name}
6262
row={row}
6363
value={value}
64+
style={style}
6465
onChange={handleChange}
6566
>
6667
{radioButtons &&

0 commit comments

Comments
 (0)