Skip to content

Commit 28b0390

Browse files
committed
inital commit
1 parent daa7fb3 commit 28b0390

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# react-hook-form-error
22
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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "react-hook-form-error",
3+
"version": "0.0.1",
4+
"description": "React Hook Form error message component",
5+
"main": "src/index.js",
6+
"repository": "git@github.com:react-hook-form/react-hook-form-error.git",
7+
"author": "bluebill1049 <bluebill1049@hotmail.com>",
8+
"license": "MIT"
9+
}

0 commit comments

Comments
 (0)