A ClojureScript reagent wrapper for Material-UI v1.x.
Current Material-UI version: 1.2.1-0
Update "0.1.1": kebab-case style support, thanks to madvas/cljs-react-material-ui
[zenius-material "0.1.1"]
(ns my-namespace.core
(:require [cljsjs.material-ui] ;; add this first
[reagent.core :as r]
[zenius-material.components :as ui]
[zenius-material.icons :as ic]
[zenius-material.styles :refer [color]))
(r/render [:<>
[ui/CssBaseLine]
[ui/Button {:variant "raised"
:color "primary"
:style {:color (color :yellow :300)}}
"Hello from next MaterialUI"]
[ui/Button {:variant "fab"
:color "secondary"}
"+"]
[ic/Lock]]
(js/document.getElementById "app"))
(r/render [:<>
[ui/css-base-line]
[ui/button {:variant "raised"
:color "primary"
:style {:color (color :yellow :300)}}
"Hello from next MaterialUI"]
[ui/button {:variant "fab"
:color "secondary"}
"+"]
[ic/lock]]
(js/document.getElementById "app"))
Copyright © 2018
Distributed under the Eclipse Public License either version 1.0.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close