Open source Android slider

Reviewed By: bestander

Differential Revision: D3127200

fb-gh-sync-id: d3d51b312c2e32cc7a0f4c0bc084139343e97c3e
fbshipit-source-id: d3d51b312c2e32cc7a0f4c0bc084139343e97c3e
This commit is contained in:
Martin Konicek
2016-04-06 04:49:47 -07:00
committed by Facebook Github Bot 4
parent 29a1a05cbb
commit a461d25601
14 changed files with 792 additions and 4 deletions

View File

@@ -120,6 +120,11 @@ var SliderIOS = React.createClass({
},
render: function() {
console.warn(
'SliderIOS is deprecated and will be removed in ' +
'future versions of React Native. Use the cross-platform Slider ' +
'as a drop-in replacement.');
let {style, onValueChange, onSlidingComplete, ...props} = this.props;
props.style = [styles.slider, style];