0.0.13 • Published 2 years ago

@effective-forms/zod v0.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago