0.0.1-security.4 • Published 11 months ago

@f1stnpm3/nisi-vel-nisi v0.0.1-security.4

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

npm downloads npm npm Discord

Features

Install

npm install @f1stnpm3/nisi-vel-nisi

Quickstart

import { useForm } from '@f1stnpm3/nisi-vel-nisi';

function App() {
  const {
    register,
    handleSubmit,
    formState: { errors },
  } = useForm();

  return (
    <form onSubmit={handleSubmit((data) => console.log(data))}>
      <input {...register('firstName')} />
      <input {...register('lastName', { required: true })} />
      {errors.lastName && <p>Last name is required.</p>}
      <input {...register('age', { pattern: /\d+/ })} />
      {errors.age && <p>Please enter number for age.</p>}
      <input type="submit" />
    </form>
  );
}

Sponsors

Thanks go to these kind and lovely sponsors!

Past sponsors

Backers

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

Contributors

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

0.0.1-security

1 year ago

0.0.1-security.4

11 months ago

0.0.1-security.2

11 months ago

0.0.1-security.3

11 months ago

1.0.0

1 year ago