react-push-notification
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -7,2 +7,3 @@ import React from 'react'; | ||
position?: Position; | ||
k?: string; | ||
} | ||
@@ -9,0 +10,0 @@ interface State { |
@@ -21,6 +21,8 @@ "use strict"; | ||
render() { | ||
const { position } = this.props; | ||
return (react_1.default.createElement("div", { className: `rpn-notification-holder ${position || 'top-middle'}` }, this.state.value.map((note) => { | ||
const { position, k } = this.props; | ||
const classN = `rpn-notification-holder ${position || 'top-middle'} supertest`; | ||
console.log(classN); | ||
return react_1.default.createElement("div", { className: classN }, this.state.value.map((note) => { | ||
return react_1.default.createElement(PushNotification_1.default, { closeNotification: Storage_1.default.popAndPush, id: note.id, theme: note.theme, title: note.title, subtitle: note.subtitle, message: note.message }); | ||
}))); | ||
})); | ||
} | ||
@@ -27,0 +29,0 @@ } |
{ | ||
"name": "react-push-notification", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "React push notifications", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
14175
15
422