scalajs-react-material-ui
scalajs-react-material-ui copied to clipboard
Scala.js wrapper of http://material-ui.com for use with https://github.com/japgolly/scalajs-react
scalajs-react-material-ui
scalajs-react facade for @material-ui/core, @material-ui/icons, @material-ui/lab
Usage
The scalajs-react-material-ui libraries is currently available for Scala.js 1.8.0+ and Scala 2.13.x.
-
Add
libraryDependenciesto your scalajs-react project:libraryDependencies ++= Seq( "io.kinoplan" %%% "scalajs-react-material-ui-core" % ${version}, "io.kinoplan" %%% "scalajs-react-material-ui-icons" % ${version}, "io.kinoplan" %%% "scalajs-react-material-ui-lab" % ${version} ) -
Add
npmDependenciesusing scalajs-bundler:npmDependencies in Compile ++= Seq( "@material-ui/core" -> "3.9.4", "@material-ui/icons" -> "3.0.2", "@material-ui/lab" -> "3.0.0-alpha.30" )
Demo
See the demo project.
The project has almost all the examples in the js Component Demos written in Scala!
In the demo you can also find very detailed examples of using a bunch of:
Start:[^1]
sbt dev- Open in browser
localhost:8080
Contributing
See CONTRIBUTING.md for more details about how to contribute.
License
This project is licensed under the terms of the Apache License, Version 2.0.
[^1]: (See CONTRIBUTING.md for installing the necessary tools to run)