@paragrav/rhf-utils 0.0.32 → 0.0.35
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.
|
@@ -4,5 +4,8 @@ import { default as React } from 'react';
|
|
|
4
4
|
* Get [name, value] of button/input that submitted form.
|
|
5
5
|
* Useful when determining user intent
|
|
6
6
|
*/
|
|
7
|
-
declare const getSubmitterButtonData: (event: React.BaseSyntheticEvent) => [
|
|
7
|
+
declare const getSubmitterButtonData: (event: React.BaseSyntheticEvent) => [
|
|
8
|
+
name: string,
|
|
9
|
+
value: string
|
|
10
|
+
] | undefined;
|
|
8
11
|
export default getSubmitterButtonData;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@paragrav/rhf-utils",
|
|
3
3
|
"author": "paragrav.dev",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.35",
|
|
6
6
|
"description": "Integration utilities for react-hook-form.",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"sideEffects": false,
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"packageManager": "npm@10.2.4",
|
|
157
157
|
"repository": {
|
|
158
158
|
"type": "git",
|
|
159
|
-
"url": "https://github.com/paragrav/rhf-utils"
|
|
159
|
+
"url": "git+https://github.com/paragrav/rhf-utils.git"
|
|
160
160
|
},
|
|
161
161
|
"bugs": {
|
|
162
162
|
"url": "https://github.com/paragrav/rhf-utils/issues"
|