react-useravatar
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -27,3 +27,3 @@ 'use strict'; | ||
* @url https://github.com/bltnico/react-user-avatar | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* | ||
@@ -119,3 +119,2 @@ * @example | ||
var hash = this.hashCode(this.props.username); | ||
console.log("color : ", this.intToRGB(hash)); | ||
return this.intToRGB(hash); | ||
@@ -161,3 +160,3 @@ } | ||
container: { | ||
backgroundColor: this.state.color, | ||
backgroundColor: "#" + this.state.color, | ||
borderRadius: this.props.size / 2, | ||
@@ -164,0 +163,0 @@ width: this.props.size, |
{ | ||
"name": "react-useravatar", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ 'use strict'; | ||
* @url https://github.com/bltnico/react-user-avatar | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* | ||
@@ -89,3 +89,2 @@ * @example | ||
let hash = this.hashCode(this.props.username); | ||
console.log("color : ",this.intToRGB(hash)); | ||
return this.intToRGB(hash); | ||
@@ -121,3 +120,3 @@ } | ||
container : { | ||
backgroundColor : this.state.color, | ||
backgroundColor : "#" + this.state.color, | ||
borderRadius : this.props.size / 2, | ||
@@ -124,0 +123,0 @@ width : this.props.size, |
10729
319