@rocket.chat/onboarding-ui
Version:
Set of components and functions for the onboarding experience on Rocket.Chat
8 lines • 612 B
TypeScript
export declare const logSubmit: <T extends (...args: any[]) => any>(onSubmit: T) => (...args: Parameters<T>) => ReturnType<T>;
export declare const validateUsername: (username: string) => Promise<string | true>;
export declare const validateEmail: (email: string) => Promise<string | true>;
export declare const validatePassword: (password: string) => true | "Password is too short";
export declare const organizationIndustryOptions: [string, string][];
export declare const organizationSizeOptions: [string, string][];
export declare const countryOptions: [string, string][];
//# sourceMappingURL=mocks.d.ts.map