1.0.0 • Published 6 years ago
react-native-test-lib-one v1.0.0
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
- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-test-liband addRNTestLib.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNTestLib.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Usage
import RNTestLib from 'react-native-test-lib';
// TODO: What to do with the module?
RNTestLib;1.0.0
6 years ago