Fix formatting in DatePickerAndroid.open docs
Summary: Lists need to be separated by a blank line from the preceding paragraph in order to render properly. Closes https://github.com/facebook/react-native/pull/12521 Differential Revision: D4619863 Pulled By: ericvicenti fbshipit-source-id: 4d5019af5ad66d8f4360339f007cf7f39427a945
This commit is contained in:
parent
04790f1a78
commit
643925b41d
|
@ -49,13 +49,14 @@ class DatePickerAndroid {
|
|||
* Opens the standard Android date picker dialog.
|
||||
*
|
||||
* The available keys for the `options` object are:
|
||||
* * `date` (`Date` object or timestamp in milliseconds) - date to show by default
|
||||
* * `minDate` (`Date` or timestamp in milliseconds) - minimum date that can be selected
|
||||
* * `maxDate` (`Date` object or timestamp in milliseconds) - minimum date that can be selected
|
||||
* * `mode` (`enum('calendar', 'spinner', 'default')`) - To set the date-picker mode to calendar/spinner/default
|
||||
* - 'calendar': Show a date picker in calendar mode.
|
||||
* - 'spinner': Show a date picker in spinner mode.
|
||||
* - 'default': Show a default native date picker(spinner/calendar) based on android versions.
|
||||
*
|
||||
* - `date` (`Date` object or timestamp in milliseconds) - date to show by default
|
||||
* - `minDate` (`Date` or timestamp in milliseconds) - minimum date that can be selected
|
||||
* - `maxDate` (`Date` object or timestamp in milliseconds) - minimum date that can be selected
|
||||
* - `mode` (`enum('calendar', 'spinner', 'default')`) - To set the date-picker mode to calendar/spinner/default
|
||||
* - 'calendar': Show a date picker in calendar mode.
|
||||
* - 'spinner': Show a date picker in spinner mode.
|
||||
* - 'default': Show a default native date picker(spinner/calendar) based on android versions.
|
||||
*
|
||||
* Returns a Promise which will be invoked an object containing `action`, `year`, `month` (0-11),
|
||||
* `day` if the user picked a date. If the user dismissed the dialog, the Promise will
|
||||
|
|
Loading…
Reference in New Issue