@hookform/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Install

npm install @hookform/core

Quickstart

import { createFormControl } from '@hookform/core';

const { register, setValue } = createFormControl({
  defaultValues: {
    name: 'Bill',
  },
});

register('name', { required: true });
setValue('name', 'test');

Backers

Thanks go to all our backers! [Become a backer].

Contributors

Thanks go to these wonderful people! [Become a contributor].

/@hookform/core/

    Package Sidebar

    Install

    npm i @hookform/core

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    691 kB

    Total Files

    190

    Last publish

    Collaborators

    • bluebill1049
    • kotarella1110
    • jorisre