@inera/ids-react 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,7 +27,7 @@ function IDSRadioGroup({ name, required, noValidation, invalid, errorMsg, childr
|
|
|
27
27
|
groupInvalid: groupInvalid,
|
|
28
28
|
onChange: onRadioChange
|
|
29
29
|
};
|
|
30
|
-
return React.cloneElement(child, cloneProps
|
|
30
|
+
return React.cloneElement(child, cloneProps);
|
|
31
31
|
}
|
|
32
32
|
return child;
|
|
33
33
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IDSRadioProps extends React.InputHTMLAttributes<HTMLInputElement>,
|
|
1
|
+
import { CommonFormProps } from "../form-props/form-props";
|
|
2
|
+
export interface IDSRadioProps extends React.InputHTMLAttributes<HTMLInputElement>, CommonFormProps {
|
|
3
3
|
groupInvalid?: boolean;
|
|
4
4
|
groupErrorMsgId?: string;
|
|
5
5
|
}
|