@@ -56,25 +56,32 @@ MuiMenu(value = "value": String | js.Array[String])
5656```
5757This will be [ fixed] ( https://github.com/scala-js/scala-js/pull/2069 ) in scala-js version 0.6.6
5858
59+ Another related issue is if a prop has type ` js.UndefOr[ReactNode] ` and you pass
60+ a ` String ` , you need to import ` materialui.StringToReactNodeU ` to make that work.
61+
5962#### Material-ui has two incompatible menu implementations
6063
61- old: ` require('material-ui/menu/menu'' ) `
62- new: ` require('material-ui/menus/menu'' ) `
64+ old: ` require('material-ui/menu/menu') `
65+ new: ` require('material-ui/menus/menu') `
6366
6467The new menu is the one documented on [ material-ui] ( http://www.material-ui.com ) , while
65- if you ` require('material-ui'' ) ` you will get the old.
68+ if you ` require('material-ui') ` you will get the old.
6669
67- We changed to the new version for scalajs-react-components 0.2.
68- Check [ index .js] ( demo/bundles/material-ui.js ) to see how to specify the new one.
70+ We changed to the new version for scalajs-react-components 0.2.0.
71+ Check [ material-ui .js] ( demo/bundles/material-ui.js ) to see how to specify the new one.
6972
7073This problem will be gone in material-ui 0.14.
7174
7275## Setup
7376
7477#### SBT
78+ Add these dependencies to you sbt build file
7579``` scala
76- // add this line to your build.sbt
77- libraryDependencies += " com.github.chandu0101.scalajs-react-components" %%% " core" % " 0.2.0"
80+ libraryDependencies ++= Seq (
81+ " com.github.japgolly.scalajs-react" %%% " core" % " 0.10.3" ,
82+ " com.github.japgolly.scalajs-react" %%% " extra" % " 0.10.3" ,
83+ " com.github.chandu0101.scalajs-react-components" %%% " core" % " 0.3.0"
84+ )
7885```
7986
8087#### ScalaCSS
0 commit comments