├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── app ├── _actions.ts ├── api │ └── form │ │ └── route.ts ├── favicon.ico ├── globals.css ├── layout.tsx └── page.tsx ├── components ├── rhf-with-zod.tsx ├── rhf.tsx ├── simple.tsx └── with-action.tsx ├── lib └── schema.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/README.md -------------------------------------------------------------------------------- /app/_actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/_actions.ts -------------------------------------------------------------------------------- /app/api/form/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/api/form/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components/rhf-with-zod.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/components/rhf-with-zod.tsx -------------------------------------------------------------------------------- /components/rhf.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/components/rhf.tsx -------------------------------------------------------------------------------- /components/simple.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/components/simple.tsx -------------------------------------------------------------------------------- /components/with-action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/components/with-action.tsx -------------------------------------------------------------------------------- /lib/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/lib/schema.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-rhf/HEAD/tsconfig.json --------------------------------------------------------------------------------