Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 935 Bytes

File metadata and controls

55 lines (40 loc) · 935 Bytes

react-native-viewpager-indicator

修改自react-native-scrollable-tab-view,增加了根据文字内容适配下划线长度的功能。

Preview

Build and run the demo

基础用法,详细见examples

cd example
npm install
npm run-ios
npm start

Basic usage

npm install react-native-viewpager-indicator --save
var ScrollableTabView = require('react-native-viewpager-indicator');

var App = React.createClass({
  render() {
    return (
      <ScrollableTabView>
        <Page tabLabel="React" />
        <Page tabLabel="Flow" />
        <Page tabLabel="Jest" />
      </ScrollableTabView>
    );
  }
});

Contact

QQ:1196681436

Weibo:http://www.weibo.com/u/1693069642

email:[email protected]

Welcome to pull request

MIT Licensed