rn-native-multi-slider

0.0.1 • Public • Published

react-native-multi-slider

This is currently under development. It doesn't work yet.

Getting started

$ npm install react-native-multi-slider --save or $ yarn add react-native-multi-slider

Mostly automatic installation

$ react-native link react-native-multi-slider

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-multi-slider and add RNMultiSlider.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNMultiSlider.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.RNMultiSliderPackage; to the imports at the top of the file
  • Add new RNMultiSliderPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-multi-slider'
    project(':react-native-multi-slider').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-multi-slider/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-multi-slider')
    

Usage

import RNMultiSlider from "react-native-multi-slider";

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

Readme

Keywords

Package Sidebar

Install

npm i rn-native-multi-slider

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

17.6 kB

Total Files

15

Last publish

Collaborators

  • lividsquirl