🐛(react) fix RadioGroup optional prop
since 5dde74c10d RadioGroup style was a
mandatory property.
It should be optional.
This commit is contained in:
@@ -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