Skip to main content

InterfaceRecurrenceEndOptionsSectionProps

Admin Docs


Interface: InterfaceRecurrenceEndOptionsSectionProps

Defined in: src/types/shared-components/Recurrence/interface.ts:22

Props for the RecurrenceEndOptionsSection component.

Properties​

frequency​

frequency: Frequency

Defined in: src/types/shared-components/Recurrence/interface.ts:24

The frequency of the recurrence (e.g., DAILY, WEEKLY).


localCount​

localCount: string | number

Defined in: src/types/shared-components/Recurrence/interface.ts:30

The local count value for "End after X occurrences".


onCountChange()​

onCountChange: (e) => void

Defined in: src/types/shared-components/Recurrence/interface.ts:34

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:32

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:28

The current state of the recurrence rule being built.


selectedRecurrenceEndOption​

selectedRecurrenceEndOption: RecurrenceEndOptionType

Defined in: src/types/shared-components/Recurrence/interface.ts:26

The currently selected end option (NEVER, ON_DATE, AFTER_OCCURRENCES).


setRecurrenceRuleState()​

setRecurrenceRuleState: (state) => void

Defined in: src/types/shared-components/Recurrence/interface.ts:36

State setter for the recurrence rule.

Parameters​

state​

SetStateAction<InterfaceRecurrenceRule>

Returns​

void