Update DatePickerAndroidExample.js
Summary: updated this.state to reflect the different date type options in the DatePickerAndroid components. Closes https://github.com/facebook/react-native/pull/11600 Differential Revision: D4376621 Pulled By: ericvicenti fbshipit-source-id: 6802d346c200870e9b3de766c9e575c7d9f7e6df
This commit is contained in:
parent
440ad3b647
commit
588004b417
|
@ -38,6 +38,10 @@ class DatePickerAndroidExample extends React.Component {
|
|||
|
||||
state = {
|
||||
presetDate: new Date(2020, 4, 5),
|
||||
simpleDate: new Date(2020, 4, 5),
|
||||
spinnerDate: new Date(2020, 4, 5),
|
||||
calendarDate: new Date(2020, 4, 5),
|
||||
defaultDate: new Date(2020, 4, 5),
|
||||
allDate: new Date(2020, 4, 5),
|
||||
simpleText: 'pick a date',
|
||||
spinnerText: 'pick a date',
|
||||
|
|
Loading…
Reference in New Issue