@@ -76,6 +76,8 @@ React Native date & time picker component for iOS, Android and Windows.
76
76
- [ ` themeVariant ` (` optional ` , ` iOS only ` )] ( #themevariant-optional-ios-only )
77
77
- [ ` locale ` (` optional ` , ` iOS only ` )] ( #locale-optional-ios-only )
78
78
- [ ` is24Hour ` (` optional ` , ` Windows and Android only ` )] ( #is24hour-optional-windows-and-android-only )
79
+ - [ ` positiveButtonLabel ` (` optional ` , ` Android only ` )] ( #positiveButtonLabel-optional-android-only )
80
+ - [ ` negativeButtonLabel ` (` optional ` , ` Android only ` )] ( #negativeButtonLabel-optional-android-only )
79
81
- [ ` neutralButtonLabel ` (` optional ` , ` Android only ` )] ( #neutralbuttonlabel-optional-android-only )
80
82
- [ ` minuteInterval ` (` optional ` )] ( #minuteinterval-optional )
81
83
- [ ` style ` (` optional ` , ` iOS only ` )] ( #style-optional-ios-only )
@@ -427,6 +429,22 @@ Allows changing of the time picker to a 24 hour format. By default, this value i
427
429
< RNDateTimePicker is24Hour= {true } / >
428
430
```
429
431
432
+ #### ` positiveButtonLabel ` (` optional ` , ` Android only ` )
433
+
434
+ Changes the label of the positive button.
435
+
436
+ ``` js
437
+ < RNDateTimePicker positiveButtonLabel= " OK!" / >
438
+ ```
439
+
440
+ #### ` negativeButtonLabel ` (` optional ` , ` Android only ` )
441
+
442
+ Changes the label of the negative button.
443
+
444
+ ``` js
445
+ < RNDateTimePicker positiveButtonLabel= " Negative" / >
446
+ ```
447
+
430
448
#### ` neutralButtonLabel ` (` optional ` , ` Android only ` )
431
449
432
450
Allows displaying neutral button on picker dialog.
0 commit comments