I am using react-native-modal-datetime-picker
for a time picker. I want to change the minute interval to be 15 minutes instead of 1 minute. Is this possible? Thanks!
Following the docs, there is a property called minuteInterval
which gets a number (defaults as 1) and can change the interval of the minutes input.
Use it like this:
render() {
return (
<>
<DateTimePicker
minuteInterval={15}
/>
</>
);
}