React JS Notifications using react-toastify | React JS Full Course

Nihira Techiees
Nihira Techiees
7.3 هزار بار بازدید - 2 سال پیش - #reactjs  
#reactjs  #react-toastify #nihiratechiees

This vides provides steps for implement toast alert/notification in React JS

Steps Followed
==================
1,  Install the package
     npm i react-toastify
2,  Import toast & toastcontainer from
     react-toastify Library
3,  Import ReactToastify css
4,   Add directive ToastContainer in app.js


Notes
=================
    1,  Type – info, success, warning & error
    2,  Position – We have 6 positions
    3,  Theme – light, dark, colored
    4,  Options  
           * Auto close
           * Transition – (bounce, slide, zoom, flip)    
           * Progress
           * Limit
Note : we can apply properties globally & individual notifications

GitHub Source code link
---------------------------------------
https://github.com/nihira2020/toastalert

npm Link
========
https://www.npmjs.com/package/react-t...

Join this channel to get access to perks:
@nihiratechiees
2 سال پیش در تاریخ 1401/09/22 منتشر شده است.
7,366 بـار بازدید شده
... بیشتر