Created
March 23, 2016 07:18
-
-
Save leapar/c074ea79d179537ceb0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ScrollableTabView套ScrollableTabView有个bug,内部ScrollableTabView第一次要搞个定时器0.2s刷一次 | |
//https://github.com/brentvatne/react-native-scrollable-tab-view | |
<ScrollableTabView | |
tabBarBackgroundColor="#00a2ed" | |
tabBarUnderlineColor="#ffffff" | |
tabBarActiveTextColor="#00ff00" | |
tabBarInactiveTextColor="#ffffff" | |
> | |
<PullToRefreshViewAndroidExample tabLabel='待确认' > | |
</PullToRefreshViewAndroidExample> | |
<PullToRefreshViewAndroidExample tabLabel='取消中' > | |
</PullToRefreshViewAndroidExample> | |
<PullToRefreshViewAndroidExample tabLabel='进行中' > | |
</PullToRefreshViewAndroidExample> | |
</ScrollableTabView> | |
<View style = {styles.container}> | |
<ToolBar title='订单'> </ToolBar> | |
<ScrollableTabView | |
renderTabBar={() => <TabBar />} | |
onChangeTab={this.onChangeTab} | |
> | |
<PullToRefreshViewAndroidExample tabLabel={{ tabName: '待确认' }} > | |
</PullToRefreshViewAndroidExample> | |
<PullToRefreshViewAndroidExample tabLabel={{ tabName: '取消中' }} > | |
</PullToRefreshViewAndroidExample> | |
<PullToRefreshViewAndroidExample tabLabel={{ tabName: '进行中' }} > | |
</PullToRefreshViewAndroidExample> | |
</ScrollableTabView> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment