Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 795 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 795 Bytes

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>

License

MIT