UI stuff - using v1 and "next" versions together
1 answer
Take a look at this comment in the transfer problem:
https://github.com/callemall/material-ui/issues/7195#issuecomment-314547601
Use yarns and add dependencies like this:
yarn add material-ui@latest
yarn add material-ui-next@npm:material-ui@next
After that, you can use the current and the next component like this:
import FlatButton from 'material-ui/FlatButton'; // v0.x
import Button from 'material-ui-next/Button'; // v1.x
+1
source to share