hook-form-async-validator
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

hook-form-async-validator

async-validator for react-hook-form

Usage

  yarn add hook-form-async-validator
  import resolver from 'hook-form-async-validator';
  
  // ...
  const form = useForm({
    resolver: resolver({
        username: {
          required: true,
          message: 'please input you name',
        },
      }),
  });

Readme

Keywords

none

Package Sidebar

Install

npm i hook-form-async-validator

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

5.66 kB

Total Files

6

Last publish

Collaborators

  • zhangyu1995