react-native-simple-stepper
Advanced tools
Comparing version 1.18.0 to 1.18.1
{ | ||
"name": "react-native-simple-stepper", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"description": "A super simple react-native implementation of the classic UIStepper from iOS.", | ||
@@ -14,3 +14,8 @@ "main": "SimpleStepper.js", | ||
"jest": { | ||
"preset": "react-native" | ||
"preset": "react-native", | ||
"modulePathIgnorePatterns": [ | ||
"/example" | ||
], | ||
"coverageDirectory": "./coverage/", | ||
"collectCoverage": true | ||
}, | ||
@@ -39,11 +44,12 @@ "repository": { | ||
"devDependencies": { | ||
"babel-jest": "^18.0.0", | ||
"babel-preset-react-native": "^1.9.1", | ||
"enzyme": "^2.8.2", | ||
"jest": "^18.1.0", | ||
"react": "^15.4.2", | ||
"react-addons-test-utils": "^15.5.1", | ||
"react-dom": "^15.5.4", | ||
"react-native": "^0.41.2", | ||
"react-test-renderer": "^15.4.2" | ||
"babel-jest": "19.0.0", | ||
"babel-preset-react-native": "1.9.1", | ||
"enzyme": "2.8.2", | ||
"enzyme-to-json": "1.5.1", | ||
"jest": "19.0.2", | ||
"prop-types": "15.5.10", | ||
"react": "16.0.0-alpha.6", | ||
"react-dom": "15.5.4", | ||
"react-native": "0.44.0", | ||
"react-test-renderer": "15.5.4" | ||
}, | ||
@@ -50,0 +56,0 @@ "dependencies": { |
@@ -7,2 +7,3 @@ # react-native-simple-stepper | ||
[![Build Status](https://travis-ci.org/testshallpass/react-native-simple-stepper.svg?branch=master)](https://travis-ci.org/testshallpass/react-native-simple-stepper) | ||
[![codecov](https://codecov.io/gh/testshallpass/react-native-simple-stepper/branch/master/graph/badge.svg)](https://codecov.io/gh/testshallpass/react-native-simple-stepper) | ||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.github.com/testshallpass/react-native-simple-stepper/master/LICENSE) | ||
@@ -14,2 +15,8 @@ | ||
### Table of contents | ||
1. [Installation](#installation) | ||
2. [Demo](#demo) | ||
3. [Usage](#usage) | ||
4. [Props](#props) | ||
## Installation | ||
@@ -16,0 +23,0 @@ ```npm i react-native-simple-stepper --save``` |
@@ -140,3 +140,3 @@ import React, {Component} from 'react'; | ||
); | ||
} else if (isValidNextMax == false) { | ||
} else { | ||
console.warn( | ||
@@ -229,3 +229,3 @@ 'Warning: Simple Stepper update failed because nextProps max value(' + | ||
} | ||
} else if (src.length > 0) { | ||
} else { | ||
return {uri: src}; | ||
@@ -302,3 +302,2 @@ } | ||
<TouchableOpacity | ||
ref={ref => this.decrementButton = ref} | ||
activeOpacity={activeOpacity} | ||
@@ -323,3 +322,2 @@ style={[ | ||
<TouchableOpacity | ||
ref={ref => this.incrementButton = ref} | ||
activeOpacity={activeOpacity} | ||
@@ -326,0 +324,0 @@ style={[ |
17018
11
68
10
359