0.0.13 • Published 8 months ago

@effective-forms/zod v0.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

@effective-forms/zod

See full documentaion

About library

Integrate zod with core package

Installation

NPM

npm install zod @effective-forms/zod

Yarn

yarn add zod @effective-forms/zod

Usage example

import { createForm } from '@effective-forms/core';
import { zodSchema } from '@effective-forms/zod';
import { z } from 'zod';

const userSchema = z.object({
  email: z.string(),
  password: z.string(),
});

const form = createForm(
  zodSchema({
    schema: userSchema,
    initialValues: {
      email: '',
      password: '',
    },
  })
);
0.0.13

8 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago