【发布时间】:2021-06-10 07:29:13
【问题描述】:
在我的应用程序中,我需要显示进度条,该进度应从 0 分钟增加到 1 分钟或给定 Max time。
试过 - 一个
我尝试了来自“react-native-paper”的进度条
<ProgressBar progress={getTime} color={COLORS.grey} />
试过 - 两个
<Animated.View
style={[
{
width: '100%',
height: 5,
borderRadius: 1,
backgroundColor: COLORS.yellow,
},
{width: 25 + '%'},
]}
/>
但无法得到输出
【问题讨论】:
标签: react-native