轮播图
npm i react-native-mmswiper --save
import MSwiper from 'react-native-mmswiper';
1.initialization
renderItem({item,index}){
return (
<View>
{/*...*/}
</View>
)
}
render() {
return (
<View>
<MSwiper
autoplay
data={data}
renderItem={this.renderItem}
/>
</View>
);
}