Skip to content

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

License

Notifications You must be signed in to change notification settings

jackuhan/react-native-viewpager-indicator

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published