+
+ {I18n.t('every')}}
+ value={interval}
+ width={`${px('1em') + px('4rem')}px`}
+ onChange={handleIntervalChange}
+ onIncrement={event => {
+ handleIntervalChange(event, interval + 1)
+ }}
+ onDecrement={event => {
+ handleIntervalChange(event, interval - 1)
+ }}
+ />
+
+
+ {
+ freqRef.current = node
+ }}
+ key={`${interval}-${freq}`}
+ renderLabel={{I18n.t('frequency')}}
+ assistiveText={I18n.t('Use arrow keys to navigate options.')}
+ value={freq}
+ width={freqPickerWidth}
+ onChange={handleFreqChange}
+ >
+
+ {I18n.t('single_and_plural_days', {one: 'Day', other: 'Days'}, {count: interval})}
+
+
+ {I18n.t(
+ 'single_and_plural_weeks',
+ {one: 'Week', other: 'Weeks'},
+ {count: interval}
+ )}
+
+
+ {I18n.t(
+ 'single_and_plural_months',
+ {one: 'Month', other: 'Months'},
+ {count: interval}
+ )}
+
+
+ {I18n.t(
+ 'single_and_plural_years',
+ {one: 'Year', other: 'Years'},
+ {count: interval}
+ )}
+
+
+
+ {freq === 'MONTHLY' && (
+
+ {I18n.t('day of month')}}
+ assistiveText={I18n.t('Use arrow keys to navigate options.')}
+ value={currMonthlyMode}
+ width={monthlyOptionsWidth}
+ onChange={handleChangeMonthlyMode}
+ >
+
+ {I18n.t('on day %{date}', {date: eventStart.date()})}
+
+
+ {getByMonthdateString(eventStart, locale, timezone)}
+
+ {isLastWeekdayInMonth(eventStart) && (
+
+ {getLastWeekdayInMonthString(getWeekdayName(eventStart, locale, timezone))}
+
+ )}
+
+
+ )}
+ {freq === 'YEARLY' &&
{yearlyFreqToText()}}
+
+