Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<input value="{getInputValue(endDate," placeholder="{phrases.endDatePlaceholder}" id="{endDateInputId}"> onFocusChange(!startDate ? START_DATE : END_DATE)}
showCalendarIcon={showEndDateCalendarIcon}
vertical={vertical}
isActive={focusedInput === END_DATE}
padding={theme.dateRangeEndDateInputPadding}
rtl={rtl}
disableAccessibility={focusedInput === START_DATE}
onChange={handleInputChange}
// @ts-ignore
dateFormat={displayFormat}
/>
isActive={focusedInput === START_DATE}
vertical={vertical}
/>
)}
position="relative"
ref={datepickerWrapperRef}
>
<input value="{getInputValue(startDate," placeholder="{phrases.startDatePlaceholder}" id="{startDateInputId}"> onFocusChange(START_DATE)}
showCalendarIcon={showStartDateCalendarIcon}
vertical={vertical}
isActive={focusedInput === START_DATE}
padding={theme.dateRangeStartDateInputPadding}
rtl={rtl}
onChange={handleInputChange}
// @ts-ignore
dateFormat={displayFormat}
/>
}
}
return (
) => theme || {}}>
<input value="{getInputValue(date," placeholder="{phrases.datePlaceholder}" id="{inputId}"> onFocusChange(true)}
showCalendarIcon={showCalendarIcon}
vertical={vertical}
isActive={false}
padding={theme.dateSingleInputPadding}
rtl={rtl}
onChange={handleInputChange}
// @ts-ignore
dateFormat={displayFormat}
/>
zIndex={theme.datepickerCloseWrapperZIndex}
>
)}
{showSelectedDates && (