🐛(react) fix RadioGroup optional prop
since 5dde74c10d RadioGroup style was a
mandatory property.
It should be optional.
This commit is contained in:
5
.changeset/chilled-brooms-leave.md
Normal file
5
.changeset/chilled-brooms-leave.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@openfun/cunningham-react": minor
|
||||
---
|
||||
|
||||
fix RadioGroup optional prop
|
||||
@@ -36,7 +36,7 @@ export const RadioGroup = ({
|
||||
text,
|
||||
rightText,
|
||||
style,
|
||||
}: PropsWithChildren & FieldProps & { style: React.CSSProperties }) => {
|
||||
}: PropsWithChildren & FieldProps & { style?: React.CSSProperties }) => {
|
||||
return (
|
||||
<Field
|
||||
className="c__radio__group c__checkbox__group"
|
||||
|
||||
Reference in New Issue
Block a user