File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ You can import react-notification-alert in your application like so:
1414
1515After that, in your component render method add the following line:
1616
17- ` <NotificationAlert ref="notificationAlert" /> `
17+ ` <NotificationAlert ref="notificationAlert" zIndex="1031" /> `
1818
1919We've used ` ref="notificationAlert" ` property on the ` NotificationAlert ` tag to access this components properties.
2020
@@ -29,6 +29,9 @@ Do not forget to import our styles in your project:
2929import "react-notification-alert/dist/animate.css";
3030```
3131
32+ ### * zIndex*
33+ If you want to add a special zIndex to the notification, if not, ` 9999 ` will be set as default.
34+
3235## * options* parameter
3336
3437This parameter has to be a javascript object with the following props:
@@ -41,6 +44,7 @@ var options = {
4144 icon: ,
4245 autoDismiss: ,
4346 closeButton: ,
47+ zIndex: ,
4448}
4549```
4650
You can’t perform that action at this time.
0 commit comments