Fix PickerIOSExample
Reviewed By: nicklockwood Differential Revision: D2735834 fb-gh-sync-id: 8f2777ec2afe007523ea85cca27f40497910d2d1
This commit is contained in:
parent
202222504e
commit
066ebc021f
|
@ -113,9 +113,10 @@ var PickerStyleExample = React.createClass({
|
|||
getInitialState: function() {
|
||||
return {
|
||||
carMake: 'cadillac',
|
||||
modelIndex: 0,
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
render: function() {
|
||||
var make = CAR_MAKES_AND_MODELS[this.state.carMake];
|
||||
var selectionString = make.name + ' ' + make.models[this.state.modelIndex];
|
||||
|
|
Loading…
Reference in New Issue