react-native-wheel-picker-android
Advanced tools
Comparing version 0.1.10 to 1.0.0
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import WheelPicker from './WheelPicker'; |
{ | ||
"name": "react-native-wheel-picker-android", | ||
"version": "0.1.10", | ||
"version": "1.0.0", | ||
"description": "Simple Wheel Picker for Android to use with react-native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # ReactNativeWheelPicker |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import mockery from 'mockery'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -11,2 +11,5 @@ 'use strict'; | ||
this.onItemSelected = this.onItemSelected.bind(this); | ||
this.state = { | ||
selectedItemPosition: 0 | ||
} | ||
} | ||
@@ -20,2 +23,6 @@ onItemSelected(event: Event) { | ||
componentDidMount() { | ||
this.setState({ selectedItemPosition: this.props.selectedItemPosition }) | ||
} | ||
render() { | ||
@@ -40,3 +47,3 @@ return ( | ||
itemTextFontFamily={this.props.itemTextFontFamily} | ||
selectedItemPosition={this.props.selectedItemPosition} | ||
selectedItemPosition={this.state.selectedItemPosition} | ||
backgroundColor={this.props.backgroundColor} | ||
@@ -43,0 +50,0 @@ /> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
727
0
313803