Liking cljdoc? Tell your friends :D

re-com.alert


alert-boxcljs

(alert-box &
           {:keys [id alert-type heading body padding closeable? on-close class
                   style attr parts]
            :or {alert-type :info}
            :as args})

Displays one alert box. A close button allows the message to be removed

Displays one alert box. A close button allows the message to be removed
sourceraw docstring

alert-box-args-desccljs

source

alert-box-partscljs

source

alert-box-parts-desccljs

source

alert-listcljs

(alert-list &
            {:keys [alerts on-close max-height padding border-style alert-class
                    alert-style class style attr parts src debug-as]
             :or {padding "4px"}
             :as args})

Displays a list of alert-box components in a v-box. Sample alerts object: [{:id 2 :alert-type :warning :heading "Heading" :body "Body" :padding "8px" :closeable? true} {:id 1 :alert-type :info :heading "Heading" :body "Body"}]

Displays a list of alert-box components in a v-box. Sample alerts object:
[{:id 2
  :alert-type :warning
  :heading "Heading"
  :body "Body"
  :padding "8px"
  :closeable? true}
 {:id 1
  :alert-type :info
  :heading "Heading"
  :body "Body"}]
sourceraw docstring

alert-list-args-desccljs

source

alert-list-partscljs

source

alert-list-parts-desccljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close