We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa7fb3 commit 28b0390Copy full SHA for 28b0390
2 files changed
README.md
@@ -1,2 +1,8 @@
1
# react-hook-form-error
2
React Hook Form error message component
3
+
4
+```
5
+import { RHFError } from 'react-hook-form-error';
6
7
+<RHFError name="test" errors={errors} as={<span />} />
8
package.json
@@ -0,0 +1,9 @@
+{
+ "name": "react-hook-form-error",
+ "version": "0.0.1",
+ "description": "React Hook Form error message component",
+ "main": "src/index.js",
+ "repository": "git@github.com:react-hook-form/react-hook-form-error.git",
+ "author": "bluebill1049 <bluebill1049@hotmail.com>",
+ "license": "MIT"
9
+}
0 commit comments