(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
(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"}]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close