@rajkrajpj/cultivate-ui-library
Version:
A modern, type-safe, accessible React component library for fintech investor forms. Build complete investor forms in minutes with zero configuration, supporting multiple regulations (RegA+, RegD, RegCF) and investor types.
36 lines (35 loc) • 1.14 kB
TypeScript
import { z } from 'zod';
import { StepComponentProps } from '../../types/steps';
export declare const individualSchema: z.ZodObject<{
firstName: z.ZodString;
middleName: z.ZodOptional<z.ZodString>;
lastName: z.ZodString;
suffix: z.ZodOptional<z.ZodString>;
email: z.ZodString;
country: z.ZodString;
phoneNumber: z.ZodString;
countryPhone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
suffix?: string | undefined;
middleName?: string | undefined;
countryPhone?: string | undefined;
}, {
email: string;
country: string;
firstName: string;
lastName: string;
phoneNumber: string;
suffix?: string | undefined;
middleName?: string | undefined;
countryPhone?: string | undefined;
}>;
export type IndividualFieldsData = z.infer<typeof individualSchema>;
export interface IndividualFieldsProps extends StepComponentProps<IndividualFieldsData> {
}
export declare const IndividualFields: React.FC<IndividualFieldsProps>;
export default IndividualFields;