mirror of https://github.com/status-im/reagent.git
Also show :> in material-ui example
This commit is contained in:
parent
0c3ae3c0ca
commit
e955655797
|
@ -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")))
|
||||||
|
|
Loading…
Reference in New Issue