设为首页 加入收藏

TOP

React Native 如何做轮播图 react-native-swiper(四)
2017-10-11 14:01:34 】 浏览:9408
Tags:React Native 如何 react-native-swiper
bool 圆点的方向允许默认自己控制

3.5 控制按钮

 

Prop   Default Type Description
showsButtons   true bool 是否显示控制箭头按钮
buttonWrapperStyle  
{position: 'absolute', paddingHorizontal: 15, 
paddingVertical: 30,  top: 70, left: 0, alignItems:'flex-start'}

style 定义默认箭头按钮的样式
nextButton  
<Text style={{fontSize:60, color:'#00a7ec',
 paddingTop:30, paddingBottom:30}}>?</Text>
element 自定义右箭头按钮样式
prevButton  
<Text style={{fontSize:60, color:'#00a7ec', 
paddingTop:30, paddingBottom:30}}>?</Text>
element 自定义左箭头按钮样式

加油!

首页 上一页 1 2 3 4 下一页 尾页 4/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇componentWillReceiveProps详解(.. 下一篇react native中的聊天气泡以及tim..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目