简体   繁体   English

如何混合react-md和material-ui组件?

[英]How to mix react-md and material-ui components?

Is there a way to mix react-md and material-ui components? 有没有办法混合react-md和material-ui组件? I'm trying to use componenets from both libraries, but they override the styles from each other. 我正在尝试使用两个库中的componenet,但是它们相互覆盖了样式。 Any ideas? 有任何想法吗?

  • i dont think think thats an good idea , beacuse i have tried the same ,initially it works fine but when you want to add more styles, or try to customise it ran into errors, styles collide with each other and you wont get desired result. 我不认为这是一个好主意,因为我已经尝试过相同的方法,起初它可以正常工作,但是当您想添加更多样式或尝试对其进行自定义时会遇到错误,样式相互冲突,您将无法获得预期的结果。
  • and it will also gives problem in server side rendering. 并且还会在服务器端渲染中带来问题。
  • if react-md or material ui standalone not fullfilling your requirements than you can also take look at semantic-ui 如果react-md或独立的Material ui无法满足您的要求,那么您还可以查看语义UI

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM