react-share
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -0,1 +1,6 @@ | ||
## 1.11.1 (Jan 22, 2017) | ||
* Added `image` prop to VK share link | ||
* Added missing `picture` prop to README.md for FacebookShareButton | ||
## 1.11.0 (Nov 18, 2016) | ||
@@ -2,0 +7,0 @@ |
@@ -258,7 +258,9 @@ 'use strict'; | ||
title: props.title, | ||
description: props.description | ||
description: props.description, | ||
image: props.image | ||
}; | ||
}, { | ||
title: _react.PropTypes.string, | ||
description: _react.PropTypes.string | ||
description: _react.PropTypes.string, | ||
image: _react.PropTypes.string | ||
}, { | ||
@@ -265,0 +267,0 @@ windowWidth: 660, |
@@ -99,3 +99,4 @@ 'use strict'; | ||
var title = _ref5.title, | ||
description = _ref5.description; | ||
description = _ref5.description, | ||
image = _ref5.image; | ||
@@ -107,4 +108,5 @@ (0, _assert2.default)(url, 'vk.url'); | ||
title: title, | ||
description: description | ||
description: description, | ||
image: image | ||
}); | ||
} |
{ | ||
"name": "react-share", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "Easy social media share buttons and share counts.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/react-share.js", |
@@ -70,3 +70,3 @@ # react-share | ||
|__All__|__`children`__: A React node (e.g. string or element)<br />__`url`__: URL of the shared page (string)|__`disabled`__: Disables click action and adds `disabled` class (bool)<br/>__`disabledStyle`__: Style when button is disabled (object, default = { opacity: 0.6 })<br/>__`windowWidth`, `windowHeight`__: opened window dimensions (int, different defaults for all share buttons)<br>__`beforeOnClick`__: Takes a function that returns a Promise to be fulfilled before calling onClick| | ||
|FacebookShareButton|-|__`title`__: Title of the shared page (string)<br/>__`description`__: Description of the shared page (string)| | ||
|FacebookShareButton|-|__`title`__: Title of the shared page (string)<br/>__`description`__: Description of the shared page (string)<br/>__`picture`__: An absolute link to the image that will be shared (string)| | ||
|GooglePlusShareButton|-|-| | ||
@@ -76,3 +76,3 @@ |LinkedinShareButton|-|__`title`__: Title of the shared page (string)<br/>__`description`__: Description of the shared page (string)| | ||
|PinterestShareButton|__`media`__: An absolute link to the image that will be pinned (string)|__`description`__: Description for the shared media.| | ||
|VKShareButton|-|__`title`__: Title of the shared page (string)<br/>__`description`__: Description of the shared page (string)| | ||
|VKShareButton|-|__`title`__: Title of the shared page (string)<br/>__`description`__: Description of the shared page (string)<br/>__`image`__: An absolute link to the image that will be shared (string)| | ||
@@ -79,0 +79,0 @@ ### Share counts |
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
38555
638