Skip to content

Commit 2da4389

Browse files
author
Manu
committed
- v0.0.9
1 parent e2eaefc commit 2da4389

4 files changed

Lines changed: 65 additions & 55 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.0.9] 2019-01-14
2+
### Bug fixing
3+
- Updated peer dependecies
4+
- Css is now not imported directly, you need to import it in your project
5+
16
## [0.0.8] 2017-08-24
27
### Bug fixing
38
- Updated dependecies

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ Somewhere in your component call `notificationAlert(options)` function like:
2222

2323
`this.refs.notificationAlert.notificationAlert(options);`
2424

25+
## Styles
26+
27+
Do not forget to import our styles in your project:
28+
```
29+
import "react-notification-alert/dist/animate.css";
30+
```
31+
2532
## *options* parameter
2633

2734
This parameter has to be a javascript object with the following props:
@@ -125,5 +132,5 @@ npm install --save jquery
125132
[CHANGELOG]: ./CHANGELOG.md
126133

127134
[LICENSE]: ./LICENSE.md
128-
[version-badge]: https://img.shields.io/badge/version-0.0.8-blue.svg
135+
[version-badge]: https://img.shields.io/badge/version-0.0.9-blue.svg
129136
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import React from "react";
22
import { Alert, Col } from "reactstrap";
33

4-
import "./animate.css";
5-
64
class NotificationAlert extends React.Component {
75
constructor(props) {
86
super(props);

package.json

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
{
2-
"name": "react-notification-alert",
3-
"version": "0.0.8",
4-
"description": "React bootstrap 4 notification alert",
5-
"main": "dist/index.js",
6-
"scripts": {
7-
"build": "mkdir -p dist && babel index.js -o dist/index.js && cp animate.css dist/animate.css"
8-
},
9-
"babel": {
10-
"presets": [
11-
"react",
12-
"env",
13-
"stage-0"
14-
]
15-
},
16-
"repository": {
17-
"type": "git",
18-
"url": "git+https://github.com/creativetimofficial/react-notification-alert.git"
19-
},
20-
"keywords": [
21-
"react",
22-
"react-component",
23-
"component",
24-
"reactstrap",
25-
"reactstrap-component",
26-
"bootstrap4",
27-
"react-bootstrap",
28-
"react-bootstrap4",
29-
"notification",
30-
"notify",
31-
"react-notification",
32-
"alert",
33-
"react-alert",
34-
"notification-alert",
35-
"alert-notification",
36-
"react-notification-alert"
37-
],
38-
"author": "Creative Tim",
39-
"license": "MIT",
40-
"bugs": {
41-
"url": "https://github.com/creativetimofficial/react-notification-alert/issues"
42-
},
43-
"homepage": "https://github.com/creativetimofficial/react-notification-alert#readme",
44-
"devDependencies": {
45-
"babel-cli": "^6.26.0",
46-
"babel-preset-env": "^1.6.1",
47-
"babel-preset-react": "^6.24.1",
48-
"babel-preset-stage-0": "^6.24.1"
49-
},
50-
"peerDependencies": {
51-
"react": "16.x.x",
52-
"reactstrap": "6.x.x"
53-
}
2+
"name": "react-notification-alert",
3+
"version": "0.0.9",
4+
"description": "React bootstrap 4 notification alert",
5+
"main": "dist/index.js",
6+
"scripts": {
7+
"build": "mkdir -p dist && babel index.js -o dist/index.js && cp animate.css dist/animate.css"
8+
},
9+
"babel": {
10+
"presets": [
11+
"react",
12+
"env",
13+
"stage-0"
14+
]
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/creativetimofficial/react-notification-alert.git"
19+
},
20+
"keywords": [
21+
"react",
22+
"react-component",
23+
"component",
24+
"reactstrap",
25+
"reactstrap-component",
26+
"bootstrap4",
27+
"react-bootstrap",
28+
"react-bootstrap4",
29+
"notification",
30+
"notify",
31+
"react-notification",
32+
"alert",
33+
"react-alert",
34+
"notification-alert",
35+
"alert-notification",
36+
"react-notification-alert"
37+
],
38+
"author": "Creative Tim",
39+
"license": "MIT",
40+
"bugs": {
41+
"url": "https://github.com/creativetimofficial/react-notification-alert/issues"
42+
},
43+
"homepage": "https://github.com/creativetimofficial/react-notification-alert#readme",
44+
"devDependencies": {
45+
"babel-cli": "^6.26.0",
46+
"babel-preset-env": "^1.6.1",
47+
"babel-preset-react": "^6.24.1",
48+
"babel-preset-stage-0": "^6.24.1"
49+
},
50+
"peerDependencies": {
51+
"react": "16.x.x",
52+
"reactstrap": "7.x.x"
53+
}
5454
}

0 commit comments

Comments
 (0)