Skip to content

Files

Latest commit

 

History

History

react-toastify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

cljsjs/react-toastify

https://github.com/fkhadra/react-toastify

[cljsjs/react-toastify "9.1.3-0"] ;; latest release

This jar comes with deps.cljs as used by the Foreign Libs feature of the ClojureScript compiler. After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require cljsjs.react-toastify))
   
  ;Example 
  [:> (aget js/ReactToastify "ToastContainer")]  

  [:button {:on-click #((aget js/ReactToastify "toast") "My Toast")} "Example"] 

For Styling embed css from https://unpkg.com/react-toastify@/dist/ReactToastify.min.css or implement your own styles (Separated for custom styling)