File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## [ 0.0.3] 2017-11-28
2+ ### Bug fixing
3+ - Rename the ` notify ` function to ` notificationAlert `
4+
15## [ 0.0.2] 2017-11-26
26### Bug fixing
37- Made the icon prop to work properly
Original file line number Diff line number Diff line change @@ -109,18 +109,18 @@ export default App;
109109For this component to work properly you have to have the following libraries installed in your project:
110110
111111```
112- ` npm install --save reactstrap@next`
113- ` npm install --save [email protected] ` 112+ npm install --save reactstrap@next
113+ npm install --save [email protected] 114114```
115115Bootstrap will require the following:
116116```
117- ` npm install --save jquery`
118- ` npm install --save popper.js`
117+ npm install --save jquery
118+ npm install --save popper.js
119119```
120120
121121
122122[ CHANGELOG ] : ./CHANGELOG.md
123123
124124[ LICENSE ] : ./LICENSE.md
125- [ version-badge ] : https://img.shields.io/badge/version-0.0.2 -blue.svg
125+ [ version-badge ] : https://img.shields.io/badge/version-0.0.3 -blue.svg
126126[ license-badge ] : https://img.shields.io/badge/license-MIT-blue.svg
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Alert , Col } from 'reactstrap' ;
33
4- class NotificationSystem extends React . Component {
4+ class NotificationAlert extends React . Component {
55 constructor ( props ) {
66 super ( props ) ;
77 this . state = {
@@ -54,7 +54,7 @@ class NotificationSystem extends React.Component {
5454 sNotify [ "notify" + place . toUpperCase ( ) ] = notify ;
5555 this . setState ( sNotify ) ;
5656 }
57- notify ( options ) {
57+ notificationAlert ( options ) {
5858 var notify = this . state [ "notify" + options . place . toUpperCase ( ) ] ;
5959 var nNumber = notify . length ;
6060 if ( notify . length > 0 ) {
@@ -146,4 +146,4 @@ class NotificationSystem extends React.Component {
146146 }
147147}
148148
149- export default NotificationSystem ;
149+ export default NotificationAlert ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-notification-alert" ,
3- "version" : " 0.0.2 " ,
3+ "version" : " 0.0.3 " ,
44 "description" : " React bootstrap 4 notification alert" ,
55 "main" : " index.js" ,
66 "scripts" : {
2626 " notify" ,
2727 " react-notification" ,
2828 " alert" ,
29- " react-alert"
29+ " react-alert" ,
30+ " notification-alert" ,
31+ " alert-notification" ,
32+ " react-notification-alert"
3033 ],
3134 "author" : " Creative Tim" ,
3235 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments