carbon-react 113.0.1 → 113.0.2
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.
|
@@ -15,7 +15,7 @@ export interface FormProps extends SpaceProps {
|
|
|
15
15
|
/** Disable HTML5 validation */
|
|
16
16
|
noValidate?: boolean;
|
|
17
17
|
/** Callback passed to the form element */
|
|
18
|
-
onSubmit?: React.FormEventHandler
|
|
18
|
+
onSubmit?: React.FormEventHandler<HTMLFormElement>;
|
|
19
19
|
/** Additional buttons rendered on the right side of the save button */
|
|
20
20
|
rightSideButtons?: React.ReactNode;
|
|
21
21
|
/** Save button to be rendered */
|
|
@@ -15,7 +15,7 @@ export interface FormProps extends SpaceProps {
|
|
|
15
15
|
/** Disable HTML5 validation */
|
|
16
16
|
noValidate?: boolean;
|
|
17
17
|
/** Callback passed to the form element */
|
|
18
|
-
onSubmit?: React.FormEventHandler
|
|
18
|
+
onSubmit?: React.FormEventHandler<HTMLFormElement>;
|
|
19
19
|
/** Additional buttons rendered on the right side of the save button */
|
|
20
20
|
rightSideButtons?: React.ReactNode;
|
|
21
21
|
/** Save button to be rendered */
|