UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

9 lines (8 loc) 644 B
export declare function hashStringToNumber(str: string): number; export declare function getAvatarColors(): string[]; export declare function getColorById(id: string, avatarColors?: string[]): string; export declare function getInitials(name?: string, limit?: number): string; export declare function getBackgroundColor(name?: string, avatarColors?: string[], hashFunction?: (name?: string) => number, defaultColor?: string): string | undefined; export declare function isGravatarUrl(url: string): boolean; export declare function isBlankGravatarUrl(url: string): boolean; export declare function patchGravatarUrl(gravatarUrl: string): string;