(home & args)
Define a home tab.
Component usage:
[:home {:private_metadata {:cool? true}}
[:section {:block_id "B123"}
[:text "Some text"]]]
Without props:
[:home
[:section {:block_id "B123"}
[:text "Some text"]]
Define a home tab. Component usage: ```clojure [:home {:private_metadata {:cool? true}} [:section {:block_id "B123"} [:text "Some text"]]] ``` Without props: ```clojure [:home [:section {:block_id "B123"} [:text "Some text"]] ```
(modal props & blocks)
Define a modal.
Component usage:
[:modal {:private_metadata {:cool? true}
:title "Cool Modal!"
:close "Nah!"
:submit "Yah!"}
[:section {:block_id "B123"}
[:text "Some text"]]]
Define a modal. Component usage: ```clojure [:modal {:private_metadata {:cool? true} :title "Cool Modal!" :close "Nah!" :submit "Yah!"} [:section {:block_id "B123"} [:text "Some text"]]] ```
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |