react-native-android - React Native 中的倒计时(显示分钟和秒的顺序)
问题描述
我正在使用 react-native-countdown-component。我的代码是:
<CountDown
timeToShow={['M', 'S']}
timeLabels={{ m: '', s: '' }}
digitStyle={{ backgroundColor: 'transparent' }}
showSeparator={true}
until={this.state.until}
size={moderateScale(20)}
/>
我的问题是它先显示秒,然后显示分钟!!!(从左到右)没有任何样式。为什么?????!!!
解决方案
推荐阅读
- r - 正则表达式匹配与fuzzyjoin / dplyr
- r - R中的str_count - 检索字符串的总频率
- date - 使用“前一周的最后一天”过滤来自 BigQuery 的数据
- javascript - 如何模拟 loadable.lib 以使库在某些单元测试中同步加载?
- javascript - 循环函数查找 14 位数字并为这些结果运行脚本 - Javascript
- python - 有没有办法将这种类型的dict设置为redis?
- node.js - 如何计算猫鼬中其他子文档上的特定子文档?
- arrays - 如何基于角度中的复选框创建产品过滤器
- serialization - ember 3 是否需要从 ember-data/active-model-adapter 迁移到 DS.JSONAPISerializer?
- python - 评估 k-means 算法找到的邻居