1.0.0 • Published 5 years ago

react-native-test-lib-one v1.0.0

Weekly downloads
5
License
-
Repository
-
Last release
5 years ago

react-native-test-lib

Getting started

$ npm install react-native-test-lib --save

Mostly automatic installation

$ react-native link react-native-test-lib

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-test-lib and add RNTestLib.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNTestLib.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNTestLib from 'react-native-test-lib';

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