A cross-platform Tab View component for React Native based on react-native-tab-view
with easier syntax
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
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>
MIT