Skip to content

Instantly share code, notes, and snippets.

@viebel viebel/reagent-attributes
Last active Dec 11, 2017

Embed
What would you like to do?
(require '[reagent.core :as reagent])
(def styles {:style {:color "red"}})
(defn hello []
[:div styles
"Hello CSS"])
(reagent/render [hello] js/klipse-container)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.