mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
440ad3b647
commit
588004b417
1 file changed
+4
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user