Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getMenuProps,
getItemProps,
getToggleButtonProps,
clearSelection,
highlightedIndex,
openMenu,
closeMenu,
setHighlightedIndex,
selectedItem,
inputValue,
isOpen,
}) => {
const suggestedItems = this.state.suggestedItems;
const calendarItems = createCalendarItems(
this.state.calendarDate,
this.state.timeString,
this.props.intl,
this.props.timeZone
);
const paddingDayCount = getPaddingDayCount(
this.state.calendarDate,
this.props.intl.locale,
this.props.timeZone
);
const paddingDays = Array(paddingDayCount).fill();
const weekdays = getWeekdayNames(this.props.intl.locale);
const today = getToday();