Package Exports
- react-native-one-span
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-one-span) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-one-span
Getting started
$ npm install react-native-one-span --save
Mostly automatic installation
$ react-native link react-native-one-span
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-one-span
and addRNOneSpan.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNOneSpan.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNOneSpan from 'react-native-one-span';
// TODO: What to do with the module?
RNOneSpan;