mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
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:
parent
5d35df8afa
commit
e193aea2f4
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user