Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isReadOnly={this.props.isReadOnly}
toggleButtonProps={getToggleButtonProps({
onBlur: createBlurHandler(this.timeInputRef),
})}
hasError={this.props.hasError}
hasWarning={this.props.hasWarning}
/>
{isOpen && !this.props.isDisabled && (
this.jumpMonths(-1)}
onTodayClick={this.showToday}
onNextMonthClick={() => this.jumpMonths(1)}
onPrevYearClick={() => this.jumpMonths(-12)}
onNextYearClick={() => this.jumpMonths(12)}
/>
{weekdays.map(weekday => (