react-native-the-anime-card-collection

1.0.0 • Public • Published

react-native-the-anime-card-collection

Getting started

$ npm install react-native-the-anime-card-collection --save

Mostly automatic installation

$ react-native link react-native-the-anime-card-collection

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-the-anime-card-collection and add RNTheAnimeCardCollection.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNTheAnimeCardCollection.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

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

Windows

Read it! :D

  1. In Visual Studio add the RNTheAnimeCardCollection.sln in node_modules/react-native-the-anime-card-collection/windows/RNTheAnimeCardCollection.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using The.Anime.Card.Collection.RNTheAnimeCardCollection; to the usings at the top of the file
  • Add new RNTheAnimeCardCollectionPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNTheAnimeCardCollection from 'react-native-the-anime-card-collection';

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

Package Sidebar

Install

npm i react-native-the-anime-card-collection

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

96.8 kB

Total Files

38

Last publish

Collaborators

  • dorislynch