css - 如何在 React Native 应用程序中使用 Material Design Lite

标签 css reactjs react-native material-design-lite

我想知道是否有一种简单的方法可以将 Google 的 Material Design Lite ( https://getmdl.io ) 与 React native 应用程序一起使用。问题是:React Native 使用 JavaScript 为应用程序设置样式,并且样式名称是使用驼峰式大小写而不是常规 Web 风格的烤肉串大小写编写的。

最佳答案

我使用 Native Base。 非常相似,我认为您无法直接将 Material Design 与 RN 一起使用。

https://nativebase.io/

关于css - 如何在 React Native 应用程序中使用 Material Design Lite,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49076491/

相关文章:

javascript - react : Filter or map Object by iterating through list of objects

javascript - 如何速记在 ES6 中导入对象?

reactjs - Ant Design for React Native 真正的原生组件?

react-native - 如何在 react-native iOS 应用程序中在运行时读取 Info.Plist?

css - 在 CSS 中按属性选择元素

javascript - jQuery 能否获取与元素关联的所有 CSS 样式?

javascript - 我正在尝试使用 Particle js 让粒子出现在这个网站的主要英雄部分,但它不起作用

javascript - 使用 Styled-Components,如何在 Styled Component 之外设置颜色数组?

react-native - 如何将 React_Editor 设置为 PhpStorm,以便当您单击错误时它会跳转到代码?

react-native - 错误 ITMS-90163 : "Invalid Code Signing Entitlements - expo build