1.0.23 • Published 5 years ago
react-notify-bootstrap v1.0.23
react-notify-bootstrap
Simple Bootstrap notification for React app
react-notify-bootstrap allow you to add bootstrap notification to your app with ease.
Install
npm install --save react-notify-bootstrap
Usage
import React, { Component } from 'react'
import Notification, { notify } from 'react-notify-bootstrap'
class App extends Component {
sendNotification = () => {
notify({ text: "Notification was sent successfully", variant: "success" });
};
render() {
return (
<React.Fragment>
<button className="btn" onClick={this.sendNotification}>Notify!</button>
<Notification />
</React.Fragment>
)
}
}
Demo
Example Code
API
Notification
notify
License
MIT © atasoyfurkan
1.0.22
5 years ago
1.0.23
5 years ago
1.0.21
5 years ago
1.0.19
5 years ago
1.0.20
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.11
5 years ago
1.0.12
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago