banner轮播图
react-native-banner
banner轮播图
Usage<Banner containerStyle={{borderRadius:8,overflow:'hidden'}} autoplay={true} autoplayTimeout={5} dot={ <View style={{ height: scaleSize(8), width: scaleSize(8), borderRadius: scaleSize(4), backgroundColor:'#fff', marginLeft: scaleSize(8), marginRight: scaleSize(8) }}></View> } activeDot={ <View style={{ height: scaleSize(8), width: scaleSize(16), borderRadius: scaleSize(4), backgroundColor: "#fff", marginLeft: scaleSize(8), marginRight: scaleSize(8) }}></View> }> <Image source={require('../../image/banner.png')}/> <Image source={require('../../image/banner2.png')}/> <Image source={require('../../image/banner3.png')}/> </Banner>
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。