react-native - 样式化组件和 PlatformColor React-Native 0.63
问题描述
我有这个文件,我在其中操作我的应用程序的所有颜色,我打算使用 React-Native 0.63 的 PlatformColor 但出现错误:
带颜色的文件:
colors: {
background: '#000',
text: '#fff',
subText: '#f27b35',
red: '#d32f2f',
green: '#388e3c',
primary: '#353132',
second: '#f22973',
third: '#d09c44',
notify: '#BF343F',
warning: '#d09c44',
gray: '#ccc',
inactive: '#626262',
icons: '#f22973',
status: {
orcamento: '#1976D2',
aguardando: '#FF5722',
recebido: '#FFC107',
processado: '#689F38',
pago: '#388E3C',
faturado: '#8BC34A',
enviado: '#673AB7',
encerrado: '#607D8B',
},
},
barStyle: 'light-content',
};
解决方案
推荐阅读
- angular - 如何使用反应形式读取角度材料日期选择器的值?
- swift - 从 GCKUIMiniMediaControlsViewController 中删除白色顶部阴影
- r - ggplot2 和 sf:geom_sf_text 在 coord_sf 设置的范围内
- kotlin - 生成序列时抛出的异常
- amazon-web-services - aws redhat root密码是什么
- javascript - 使用 xml2js 将 JSON 文件转换为 XML 时如何删除空标签?
- ajax - Ajax回调不重建表单drupal 8
- sql - 交叉应用的 SQL 替代方案
- html - 文本不会在滚动效果背景图像中垂直居中
- javascript - 如何在 Material ui TablestickyHeader 的表头上应用 css?