Not sure about popovers yet, for now just transform all args into map. Might change to :body etc being a child.
;; before
[alert-box
:src (at)
:id 1
:alert-type :none
:heading "This Is An Unstyled Alert"
:body [:p "This is an alert body. This alert has an :alert-type of :none, and it includes a :heading, a :body and a close button. Click the x to close it."]
:closeable? true
:on-close #(reset! show-alert4 false)]
;; after
[alert-box
{:src (at)
:id 1
:alert-type :none
:heading "This Is An Unstyled Alert"
:closeable? true
:on-close #(reset! show-alert4 false)}
[:p "This is an alert body. This alert has an :alert-type of :none, and it includes a :heading, a :body and a close button. Click the x to close it."]]
Please write a script to convert kwargs to map (hiccup-alike) syntax. Examples:
Not sure about popovers yet, for now just transform all args into map. Might change to
:body
etc being a child.