react-native-scrollable-tab-view標(biāo)簽導(dǎo)航
react-native-scrollable-tab-view 標(biāo)簽導(dǎo)航,可以點(diǎn)擊切換,每個(gè) tab 可以有自己的 ScrollView,點(diǎn)擊切換的時(shí)候可以維護(hù)自己的滾動(dòng)方向。
https://www.npmjs.com/package/react-native-scrollable-tab-view
基礎(chǔ)使用:
var ScrollableTabView = require('react-native-scrollable-tab-view');
var App = React.createClass({
render() {
return (
<ScrollableTabView>
<ReactPage tabLabel="React" />
<FlowPage tabLabel="Flow" />
<JestPage tabLabel="Jest" />
</ScrollableTabView>
);
}
}評(píng)論
圖片
表情
