@toutix/whitelabel
Version:
Toutix whitelabel React container components
12 lines • 584 B
TypeScript
import { type ClassValue } from 'clsx';
export declare function cn(...inputs: ClassValue[]): string;
/**
* Ensures a phone number has the + prefix
* @param phoneNumber - The phone number to format
* @returns The phone number with + prefix
*/
export declare function ensurePhonePrefix(phoneNumber: string | null | undefined): string;
export declare const getPath: (path: string, params?: any) => string;
export declare const getMessage: (key: string) => string | undefined;
export declare const generateRandomString: (length?: number) => string;
//# sourceMappingURL=utils.d.ts.map