@hhgtech/hhg-components
Version:
Hello Health Group common components
17 lines (16 loc) • 508 B
TypeScript
import { LocaleType } from "../../../interfaces/types";
import { UseTranslationsReturn } from "../../../hooks";
import * as yup from 'yup';
export declare const similacOnboardingSchema: (t: UseTranslationsReturn<LocaleType>['t'], optionalTerm?: boolean) => yup.ObjectSchema<{
phone: string;
name: string;
email: string;
address: {};
term: boolean;
}, yup.AnyObject, {
phone: "";
name: undefined;
email: "";
address: undefined;
term: undefined;
}, "">;