React native 在react native中创建微调器控制盘

React native 在react native中创建微调器控制盘,react-native,react-native-animatable,React Native,React Native Animatable,您好,我正在尝试使用动画制作react native中的旋转轮。按照这里的例子()我能够旋转一个矩形框。这是密码 <Animatable.View ref={animation[0]} style={[styles.box, { backgroundColor: animation[1] }]} animation={animation[0]}

您好,我正在尝试使用动画制作react native中的旋转轮。按照这里的例子()我能够旋转一个矩形框。这是密码

  <Animatable.View
                        ref={animation[0]}
                        style={[styles.box, { backgroundColor: animation[1] }]}
                        animation={animation[0]}
                        iterationCount={"infinite"}>
                        <Text style={styles.box_text}>{animation[0]}</Text>
 </Animatable.View>


const styles = StyleSheet.create({
        container: {
            flex: 1,
            flexDirection: 'column',
            padding: 20
        },
        row: {
            flex: 1,
            flexDirection: 'row',
            justifyContent: 'space-between'
        },
        box: {
            alignItems: 'center',
            justifyContent: 'center',
            height: 100,
            width: 100,
            backgroundColor: '#ccc'
        },
        box_text: {
            color: '#FFF'
        }
    });

需要一些指导和建议,谢谢