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)))
:select true}
[menu-item
{:value 1} "Item 1"]
[menu-item
{:value 2} "Item 2"]]])
{:value 1}
"Item 1"]
;; Same as previous, alternative to adapt-react-class
[:> mui/MenuItem
{:value 2}
"Item 2"]]])
(defn start []
(r/render [main] (js/document.getElementById "app")))