我需要从 React-Native-SVG-Charts 创建一个动画进度圈。
我需要在大约 3 秒内完成 0-1 .. 我似乎无法找到在本机反应中我可以在哪里以及如何做到这一点.. 我需要使用 Animated 吗?
export const SplashScreen = ({ navigation }, props) => {
return (
<View style={styles.MainView}>
<View style={styles.progressView}>
<ProgressCircle style={styles.progressCircle} progress={0.4} backgroundColor={'white'} progressColor={'#084663'} />
</View>
</View>
);
};
我以前在网上做过,但在 RN 中似乎不一样。
这里的例子,但我真的需要用我当前的包来做这个,以最小化包下载/应用程序大小