@letanure/resend-cli
Version:
A command-line interface for Resend email API
13 lines • 639 B
TypeScript
import type { z } from 'zod';
import type { FormField } from '../../types/index.js';
interface SimpleFormProps<T = Record<string, unknown>> {
fields: Array<FormField>;
onSubmit: (data: T) => void;
onCancel: () => void;
validateWith?: z.ZodType<T, z.ZodTypeDef, unknown>;
initialData?: Partial<T>;
onFormDataChange?: (data: Record<string, unknown>) => void;
}
export declare const SimpleForm: <T = Record<string, unknown>>({ fields, onSubmit, onCancel, validateWith, initialData, onFormDataChange, }: SimpleFormProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=SimpleForm.d.ts.map