import { default as React } from 'react'; import { UseFormReturn } from 'react-hook-form'; import { z } from 'zod'; /** * Interface for Form component props * @template TSchema - The Zod schema type */ export default interface IFormProps { /** * Child components to render within the form */ children?: React.ReactNode; /** * React Hook Form form object */ form?: UseFormReturn>; /** * Callback function to handle form submission */ onSubmit: (data: z.infer) => void; }