React:react-native-scrollable-tab-view

前端之家收集整理的这篇文章主要介绍了React:react-native-scrollable-tab-view前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Add it to your project

  1. Runnpm install react-native-scrollable-tab-view --save
  2. var ScrollableTabView = require('react-native-scrollable-tab-view');

Examples

SimpleExample.

ScrollableTabsExample.

OverlayExample.

FacebookExample.

Basic usage

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>
    );
  }
});
原文链接:https://www.f2er.com/react/304805.html

猜你在找的React相关文章