You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -287,6 +295,8 @@ The reason we recommend the imperative API is: on Android, the date/time picker
287
295
288
296
### Android styling
289
297
298
+
If you'd like to use the Material pickers, your app theme will need to inherit from `Theme.Material3.DayNight.NoActionBar` in `styles.xml`.
299
+
290
300
Styling of the dialogs on Android can be easily customized by using the provided config plugin, provided that you use a [Expo development build](https://docs.expo.dev/develop/development-builds/introduction/). The plugin allows you to configure color properties that cannot be set at runtime and requires building a new app binary to take effect.
291
301
292
302
Refer to this documentation for more information: [android-styling.md](/docs/android-styling.md).
@@ -334,6 +344,19 @@ List of possible values for iOS (maps to [preferredDatePickerStyle](https://deve
334
344
<RNDateTimePicker display="spinner"/>
335
345
```
336
346
347
+
#### `design` (`optional`, `Android only`)
348
+
349
+
Defines if the picker should use Material 3 components or the default picker. The default value is `"default"`.
350
+
351
+
List of possible values
352
+
353
+
-`"default"`
354
+
-`"material"`
355
+
356
+
```js
357
+
<RNDateTimePicker design="material"/>
358
+
```
359
+
337
360
#### `onChange` (`optional`)
338
361
339
362
Date change handler.
@@ -482,6 +505,35 @@ Allows changing of the time picker to a 24-hour format. By default, this value i
0 commit comments