Fix website after open sourcing Slider

Reviewed By: bestander

Differential Revision: D3144673

fb-gh-sync-id: bdfc35606c29b227228474e5e6a9c0087898783d
fbshipit-source-id: bdfc35606c29b227228474e5e6a9c0087898783d
This commit is contained in:
Martin Konicek 2016-04-06 08:50:33 -07:00 committed by Facebook Github Bot 7
parent d0566d8bc3
commit 9adef91333
3 changed files with 10 additions and 1 deletions

View File

@ -23,6 +23,9 @@ var requireNativeComponent = require('requireNativeComponent');
type Event = Object;
/**
* A component used to select a single value from a range of values.
*/
var Slider = React.createClass({
mixins: [NativeMethodsMixin],

View File

@ -22,6 +22,12 @@ var requireNativeComponent = require('requireNativeComponent');
type Event = Object;
/**
* **Note:** SliderIOS is deprecated and will be removed in the future. Use the cross-platform
* Slider as a drop-in replacement with the same API.
*
* An iOS-specific component used to select a single value from a range of values.
*/
var SliderIOS = React.createClass({
mixins: [NativeMethodsMixin],

View File

@ -209,7 +209,7 @@ var components = [
'../Libraries/Components/RefreshControl/RefreshControl.js',
'../Libraries/Components/ScrollView/ScrollView.js',
'../Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js',
'../Libraries/Components/SliderIOS/Slider.js',
'../Libraries/Components/Slider/Slider.js',
'../Libraries/Components/SliderIOS/SliderIOS.ios.js',
'../Libraries/Components/StatusBar/StatusBar.js',
'../Libraries/Components/Switch/Switch.js',