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:
Buchi Anora 2017-01-02 11:19:04 -08:00 committed by Facebook Github Bot
parent 440ad3b647
commit 588004b417
1 changed files with 4 additions and 0 deletions

View File

@ -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',