react-avatar
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -185,3 +185,3 @@ 'use strict'; | ||
), | ||
_react2.default.createElement(_index2.default, { size: 150, facebookId: 'invalidfacebookusername', src: 'https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg' }) | ||
_react2.default.createElement(_index2.default, { size: 150, facebookId: 'invalidfacebookusername', src: 'https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg', name: 'Foo Bar' }) | ||
), | ||
@@ -188,0 +188,0 @@ _react2.default.createElement( |
@@ -53,3 +53,3 @@ 'use strict'; | ||
var SOURCES = [_Gravatar2.default, _Facebook2.default, _Twitter2.default, _Google2.default, _Skype2.default, _Value2.default, _Src2.default, _Icon2.default]; | ||
var SOURCES = [_Gravatar2.default, _Facebook2.default, _Twitter2.default, _Google2.default, _Skype2.default, _Src2.default, _Value2.default, _Icon2.default]; | ||
@@ -56,0 +56,0 @@ var Avatar = function (_React$Component) { |
{ | ||
"name": "react-avatar", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Universal React avatar component makes it possible to generate avatars based on user information.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -13,5 +13,5 @@ # <Avatar>[![Build Status](https://travis-ci.org/Sitebase/react-avatar.svg?branch=master)](https://travis-ci.org/Sitebase/react-avatar) | ||
* Gravatar | ||
* Custom image | ||
* Name initials | ||
* Custom text | ||
* Custom image | ||
@@ -18,0 +18,0 @@ The fallbacks are in the same order as the list above were Facebook has the highest priority. |
@@ -94,3 +94,3 @@ 'use strict'; | ||
<h2>Fallback to static src</h2> | ||
<Avatar size={150} facebookId="invalidfacebookusername" src="https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg" /> | ||
<Avatar size={150} facebookId="invalidfacebookusername" src="https://thumbs.dreamstime.com/m/cute-monster-avatar-smiling-face-yellow-color-52010608.jpg" name="Foo Bar" /> | ||
</section> | ||
@@ -97,0 +97,0 @@ |
@@ -20,4 +20,4 @@ 'use strict'; | ||
skypeSource, | ||
srcSource, | ||
valueSource, | ||
srcSource, | ||
iconSource | ||
@@ -24,0 +24,0 @@ ]; |
Sorry, the diff of this file is too big to display
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
1559278