Skip to content

Commit 18dacc1

Browse files
authored
Merge pull request #322 from sadik-malik/269
fix: Checkbox option label not rendering components
2 parents ee7c73e + aa2cc72 commit 18dacc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rhf-mui/src/CheckboxButtonGroup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const CheckboxButtonGroup = forwardRef(function CheckboxButtonGroup<
188188
onChange={() => handleChange(option)}
189189
/>
190190
}
191-
label={`${optionLabel}`}
191+
label={optionLabel as ReactNode}
192192
key={`${optionValue}`}
193193
/>
194194
)

0 commit comments

Comments
 (0)