0.1.6 • Published 4 years ago

react-native-tab-view-easy v0.1.6

Weekly downloads
60
License
MIT
Repository
github
Last release
4 years ago

react-native-tab-view-easy

A cross-platform Tab View component for React Native based on react-native-tab-view with easier syntax

Installation

yarn add react-native-tab-view-easy

OR

npm install react-native-tab-view-easy

Now we need to install react-native-tab-view and react-native-pager-view

yarn add react-native-tab-view react-native-pager-view

OR

npm install react-native-tab-view react-native-pager-view

Usage

import { TabView, Tab } from 'react-native-tab-view-easy';

// ...

<TabView>
  <Tab title={'Tab 1'}>
    <Text>Content</Text>
  </Tab>

  <Tab title={'Tab 2'}>
    <Text>Content</Text>
  </Tab>
</TabView>

##API reference

License

MIT