You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-tab-layout

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-tab-layout

TODO

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

react-native-tab-layout

Getting started

$ npm install react-native-tab-layout --save

Mostly automatic installation

$ react-native link react-native-tab-layout

Manual installation

Android

  • Open up android/app/src/main/java/[...]/MainApplication.java
  • Add import com.busfor.rntablayout.TabLayoutPackage; to the imports at the top of the file
  • Add new TabLayoutPackage() to the list returned by the getPackages() method
  • Append the following lines to android/settings.gradle:
    include ':react-native-tab-layout'
    project(':react-native-tab-layout').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-tab-layout/android')
    
  • Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-tab-layout')
    

Usage

import TabLayout from 'react-native-tab-layout';

// TODO: What to do with the module?
TabLayout;

Keywords

react-native

FAQs

Package last updated on 17 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts