android - 是否可以将背景颜色设置为 Card 元素标题(react-native-elements)?
问题描述
我需要有关 react-native-elements Card element title background color 的帮助。我尝试使用此代码,但没有运气。
<Card titleStyle={[styles.thinkMinTextTitle , robotoWeights.light]} title='Think a minute!'></Card>
这是我的样式代码
const styles = StyleSheet.create({ thinkMinTextTitle:{ backgroundColor:'#32cb00' }});
谢谢
解决方案
推荐阅读
- google-bigquery - Google Bigquery 中的事务管理
- oracle - 获取 ORA-00904:“DECL_OBJ#”:在 oracle 中使用 informatica 工具加载数据时标识符无效
- c++ - 我可以定义一个 constexpr 匿名/未命名变量吗?
- javascript - Node.js子进程挂起,需要调试思路
- node.js - Jest watch 未检测到文件更改
- r - 很难根据列值删除行
- python - 逻辑回归在 python 中不起作用
- unity3d - Physics(2D) 模块不存在。这个 PhysicsRaycaster(2d) 将不起作用。(统一2020.1.0a14)
- r - 在 R 中的散点图上获取重复的标记点
- gcc - 使用 raco 牺牲编译时间来提高性能的方法?