Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.setState({date})} shortcuts={[
Datepicker.yesterday,
Datepicker.today,
Datepicker.tomorrow,
Datepicker.afterOneWeek,
Datepicker.afterOneMonth,
Datepicker.afterThreeMonths,
Datepicker.beforeOneWeek,
Datepicker.beforeOneMonth,
Datepicker.beforeThreeMonths
]}/>
)
}
}