react-native-tab-view-easy
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

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

Package Sidebar

Install

npm i react-native-tab-view-easy

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

24.5 kB

Total Files

9

Last publish

Collaborators

  • chr314