w-aura/src/types.ts
Денис Катаев b5aabf16cc AW-22-deleteChargebee
2024-04-19 16:30:40 +00:00

25 lines
488 B
TypeScript

export enum EDirectionOnboarding {
LEFT = "left",
RIGHT = "right",
TOP = "top",
BOTTOM = "bottom",
}
export interface FormField<T> {
name: string;
value: T;
label?: string | null;
placeholder?: string | null;
inputClassName?: string;
onValid: (value: string) => void;
onInvalid: () => void;
}
export interface SignupForm {
email: string;
birthdate: string;
birthtime: string;
}
export type UserStatus = "lead" | "registred" | "subscribed" | "unsubscribed";