Skip to content

Commit b21c38f

Browse files
add readme.
1 parent e12fa5f commit b21c38f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ React Native date & time picker component for iOS, Android and Windows (please n
8585
- [`initialInputMode` (`optional`, `Android only`)](#initialinputmode-optional-android-only)
8686
- [`title` (`optional`, `Android only`)](#title-optional-android-only)
8787
- [`fullscreen` (`optional`, `Android only`)](#fullscreen-optional-android-only)
88+
- [`showYearPickerFirst` (`optional`, `Android only`)](#showyearpickerfirst-optional-android-only)
8889
- [`onChange` (`optional`)](#onchange-optional)
8990
- [`value` (`required`)](#value-required)
9091
- [`maximumDate` (`optional`)](#maximumdate-optional)
@@ -534,6 +535,14 @@ List of possible values:
534535
<RNDateTimePicker fullscreen={true} />
535536
```
536537

538+
#### `showYearPickerFirst` (`optional`, `Android only`)
539+
540+
If true, the date picker will open with the year selector first.
541+
542+
```js
543+
<RNDateTimePicker showYearPickerFirst={true} />
544+
```
545+
537546
#### `positiveButton` (`optional`, `Android only`)
538547

539548
Set the positive button label and text color.

0 commit comments

Comments
 (0)