Also show :> in material-ui example

This commit is contained in:
Juho Teperi 2018-07-11 18:01:54 +03:00
parent 0c3ae3c0ca
commit e955655797
1 changed files with 6 additions and 3 deletions

View File

@ -93,9 +93,12 @@
(reset! text-state (.. e -target -value))) (reset! text-state (.. e -target -value)))
:select true} :select true}
[menu-item [menu-item
{:value 1} "Item 1"] {:value 1}
[menu-item "Item 1"]
{:value 2} "Item 2"]]]) ;; Same as previous, alternative to adapt-react-class
[:> mui/MenuItem
{:value 2}
"Item 2"]]])
(defn start [] (defn start []
(r/render [main] (js/document.getElementById "app"))) (r/render [main] (js/document.getElementById "app")))