react-native-datepicker
react-native-datepicker copied to clipboard
Unable to jump to current date
Issue There is no Today button
Expected Behavior A 'Today' button that jumps to current date
Version "react-native-datepicker": "^1.7.2", Code
<DatePicker
style={{ width: 200 }}
date={this.props.monitorInstallDate}
mode="date"
placeholder="select date"
format="MM/DD/YYYY"
minDate="01/05/2000"
maxDate="01/05/2050"
confirmBtnText="Confirm"
cancelBtnText="Cancel"
onDateChange={(date) => this.props.onDateChange(date)}
/>
In addition to the cancel and confirm button, can I add my own custom 'Today' button to jump to the current date?