You have to set the "display" property accordingly to the OS you are
List of possible values for Android:
"default" - Show a default date picker (spinner/calendar/clock) based on mode and Android version.
"spinner"
"calendar" (only for date mode)
"clock" (only for time mode)
List of possible values for iOS (maps to preferredDatePickerStyle)
"default" - Automatically pick the best style available for the current platform & mode.
"spinner" - the usual appearance with a wheel from which you choose values
"compact" - Affects only iOS 14 and later. Will fall back to "spinner" if not supported.
"inline" - Affects only iOS 14 and later. Will fall back to "spinner" if not supported.