react-avatar
Advanced tools
Comparing version 3.9.0 to 3.9.1
@@ -265,3 +265,2 @@ 'use strict'; | ||
textAlign: 'center', | ||
textTransform: 'uppercase', | ||
color: this.props.fgColor, | ||
@@ -268,0 +267,0 @@ background: this.state.color, |
@@ -139,3 +139,3 @@ 'use strict'; | ||
return !!v; | ||
}).slice(0, maxInitials).join(''); | ||
}).slice(0, maxInitials).join('').toUpperCase(); | ||
} | ||
@@ -142,0 +142,0 @@ /** |
@@ -20,2 +20,3 @@ import * as React from "react"; | ||
googleId?: string; | ||
instagramId?: string; | ||
githubHandle?: string; | ||
@@ -142,2 +143,12 @@ skypeId?: string; | ||
export interface CacheOptions { | ||
cachePrefix?: string, | ||
sourceTTL?: number, | ||
sourceSize?: number | ||
} | ||
export interface CacheConstructor { | ||
new (options: CacheOptions): Cache; | ||
} | ||
/** | ||
@@ -150,2 +161,3 @@ * Universal avatar makes it possible to fetch/generate an avatar based on the information you have about that user. | ||
export const ConfigProvider: React.ComponentType<ConfigProvider>; | ||
export const Cache: CacheConstructor; | ||
export default ReactAvatar; |
@@ -318,3 +318,2 @@ 'use strict'; | ||
textAlign: 'center', | ||
textTransform: 'uppercase', | ||
color: this.props.fgColor, | ||
@@ -321,0 +320,0 @@ background: this.state.color, |
@@ -175,3 +175,3 @@ 'use strict'; | ||
return !!v; | ||
}).slice(0, maxInitials).join(''); | ||
}).slice(0, maxInitials).join('').toUpperCase(); | ||
} | ||
@@ -178,0 +178,0 @@ /** |
{ | ||
"name": "react-avatar", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"description": "Universal React avatar component makes it possible to generate avatars based on user information.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126018
2360