react-cimpress-comment
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -46,15 +46,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
'div', | ||
null, | ||
{ className: 'comment-drawer-button' }, | ||
React.createElement( | ||
'div', | ||
{ className: 'comment-drawer-button' }, | ||
React.createElement( | ||
'a', | ||
{ href: '#' }, | ||
React.createElement('span', { className: 'fa fa-comments-o', | ||
onClick: () => this.setState({ | ||
commentsDrawerOpen: true | ||
}) }), | ||
this.state.availableComments > 0 ? badge : null | ||
) | ||
'a', | ||
{ href: '#' }, | ||
React.createElement('span', { className: 'fa fa-comments-o', | ||
onClick: () => this.setState({ | ||
commentsDrawerOpen: true | ||
}) }), | ||
this.state.availableComments > 0 ? badge : null | ||
), | ||
@@ -61,0 +57,0 @@ React.createElement( |
import _Comments from './Comments'; | ||
import _CommentsDrawerLink from './CommentsDrawerLink'; | ||
export class Comments extends _Comments {} | ||
export default class Comments extends _Comments {} | ||
export class CommentsDrawerLink extends _CommentsDrawerLink {} |
{ | ||
"name": "react-cimpress-comment", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Visualizes comment(s) for a particular platform resource", | ||
@@ -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
33642
614