diff --git a/Examples/UIExplorer/SegmentedControlIOSExample.js b/Examples/UIExplorer/SegmentedControlIOSExample.js index 119196d8f8a97d..21cd987566bf0f 100644 --- a/Examples/UIExplorer/SegmentedControlIOSExample.js +++ b/Examples/UIExplorer/SegmentedControlIOSExample.js @@ -94,7 +94,7 @@ var EventSegmentedControlExample = React.createClass({ return { values: ['One', 'Two', 'Three'], value: 'Not selected', - selectedIndex: undefined + selectedSegmentIndex: undefined }; }, @@ -105,11 +105,11 @@ var EventSegmentedControlExample = React.createClass({ Value: {this.state.value} - Index: {this.state.selectedIndex} + Index: {this.state.selectedSegmentIndex} @@ -118,7 +118,7 @@ var EventSegmentedControlExample = React.createClass({ _onChange(event) { this.setState({ - selectedIndex: event.nativeEvent.selectedIndex, + selectedSegmentIndex: event.nativeEvent.selectedSegmentIndex, }); },