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
raw docstring

alert-box-args-desccljs


alert-box-partscljs


alert-box-parts-desccljs


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"}]
raw docstring

alert-list-args-desccljs


alert-list-partscljs


alert-list-parts-desccljs

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

× close