Liking cljdoc? Tell your friends :D
Clojure only.

thlack.surfs.views.components


homeclj

(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"]]
```
sourceraw docstring

(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"]]]
```
sourceraw docstring

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

× close