UNPKG

@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.

37 lines (36 loc) 1.21 kB
import { z } from 'zod'; import { StepComponentProps } from '../../types/steps'; export declare const individualIdentitySchema: z.ZodEffects<z.ZodObject<{ investorType: z.ZodString; birthDate: z.ZodString; ssn: z.ZodOptional<z.ZodString>; tin: z.ZodOptional<z.ZodString>; country: z.ZodString; }, "strip", z.ZodTypeAny, { country: string; investorType: string; birthDate: string; ssn?: string | undefined; tin?: string | undefined; }, { country: string; investorType: string; birthDate: string; ssn?: string | undefined; tin?: string | undefined; }>, { country: string; investorType: string; birthDate: string; ssn?: string | undefined; tin?: string | undefined; }, { country: string; investorType: string; birthDate: string; ssn?: string | undefined; tin?: string | undefined; }>; export type IndividualIdentityFormData = z.infer<typeof individualIdentitySchema>; export declare const IndividualIdentityFields: ({ onSubmit, onBack, defaultValues, context, offeringParams, }: StepComponentProps<IndividualIdentityFormData>) => import("react/jsx-runtime").JSX.Element; export default IndividualIdentityFields;