FIX #9939 - Add missing options argument to Android picker example

Summary:
`options` is required when call `TimePickerAndroid.open()`
Closes https://github.com/facebook/react-native/pull/9940

Differential Revision: D3876076

fbshipit-source-id: 58c017d2a7acdc3d584bcc7ef965b56170a1594b
This commit is contained in:
leeight 2016-09-16 00:30:46 -07:00 committed by Facebook Github Bot 1
parent 5d35df8afa
commit e193aea2f4

View File

@ -66,7 +66,7 @@ class TimePickerAndroidExample extends React.Component {
<UIExplorerPage title="TimePickerAndroid"> <UIExplorerPage title="TimePickerAndroid">
<UIExplorerBlock title="Simple time picker"> <UIExplorerBlock title="Simple time picker">
<TouchableWithoutFeedback <TouchableWithoutFeedback
onPress={this.showPicker.bind(this, 'simple')}> onPress={this.showPicker.bind(this, 'simple', {})}>
<Text style={styles.text}>{this.state.simpleText}</Text> <Text style={styles.text}>{this.state.simpleText}</Text>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
</UIExplorerBlock> </UIExplorerBlock>