react-native-scrollable-tabviewfork
v0.0.4
Published
<!-- * @Author: ljx * @Date: 2022-04-18 10:35:58 * @LastEditors: ljx * @LastEditTime: 2022-04-26 19:49:49 * @Description: -->
Downloads
20
Maintainers
Readme
react-native-scrollable-tabviewfork
This is a modification based on react-native-scrollable-tab-view. Due to bugs and compatibility issues in the plugin itself, this version is released to avoid frequent modification of the original plugin. For learning use only.
Add it to your project
- Run
npm install react-native-scrollable-tabviewfork --save
var ScrollableTabView = require('react-native-scrollable-tabviewfork ');
Basic usage
var ScrollableTabView = require('react-native-scrollable-tabviewfork');
var App = React.createClass({
render() {
return (
<ScrollableTabView>
<ReactPage tabLabel="React" />
<FlowPage tabLabel="Flow" />
<JestPage tabLabel="Jest" />
</ScrollableTabView>
);
}
});
Attention:
This version update mainly removes the @react-native-community/viewpager code, and removes the distinction between the android system and the IOS system。