InterfaceRecurrenceEndOptionsSectionProps
Interface: InterfaceRecurrenceEndOptionsSectionProps
Defined in: src/types/shared-components/Recurrence/interface.ts:11
Props for the RecurrenceEndOptionsSection component.
Properties
frequency
frequency:
Frequency
Defined in: src/types/shared-components/Recurrence/interface.ts:13
The frequency of the recurrence (e.g., DAILY, WEEKLY).
localCount
localCount:
string|number
Defined in: src/types/shared-components/Recurrence/interface.ts:19
The local count value for "End after X occurrences".
onCountChange()
onCountChange: (
e) =>void
Defined in: src/types/shared-components/Recurrence/interface.ts:23
Callback when the occurrence count changes.
Parameters
e
ChangeEvent<HTMLInputElement>
Returns
void
onRecurrenceEndOptionChange()
onRecurrenceEndOptionChange: (
e) =>void
Defined in: src/types/shared-components/Recurrence/interface.ts:21
Callback when the end option selection changes.
Parameters
e
ChangeEvent<HTMLInputElement>
Returns
void
recurrenceRuleState
recurrenceRuleState:
InterfaceRecurrenceRule
Defined in: src/types/shared-components/Recurrence/interface.ts:17
The current state of the recurrence rule being built.
selectedRecurrenceEndOption
selectedRecurrenceEndOption:
RecurrenceEndOptionType
Defined in: src/types/shared-components/Recurrence/interface.ts:15
The currently selected end option (NEVER, ON_DATE, AFTER_OCCURRENCES).
setRecurrenceRuleState()
setRecurrenceRuleState: (
state) =>void
Defined in: src/types/shared-components/Recurrence/interface.ts:25
State setter for the recurrence rule.
Parameters
state
SetStateAction<InterfaceRecurrenceRule>
Returns
void
t()
t: (
key) =>string
Defined in: src/types/shared-components/Recurrence/interface.ts:29
Translation function.
Parameters
key
string
Returns
string