UNPKG

z-react-dynamic-form

Version:

A dynamic form builder for React applications with various input types and validation

15 lines (14 loc) 434 B
import React from "react"; import { ControllerRenderProps } from "react-hook-form"; import { z } from "zod"; import { Controller } from "../../types"; export interface DateRange { from?: Date | null; to?: Date | null; } type DateHandlerProps = { field: ControllerRenderProps<z.TypeOf<any>, any>; controller: Controller; }; declare const _default: React.NamedExoticComponent<DateHandlerProps>; export default _default;