1 import type { WeekStartsOn } from '@proton/shared/lib/date-fns-utc/interface';
2 import type { DateTimeModel, FrequencyModel } from '@proton/shared/lib/interfaces/calendar';
4 import EndsRow from '../rows/EndsRow';
5 import RepeatEveryRow from '../rows/RepeatEveryRow';
8 frequencyModel: FrequencyModel;
10 displayWeekNumbers: boolean;
11 weekStartsOn: WeekStartsOn;
14 onChange: (value: FrequencyModel) => void;
15 displayStacked?: boolean;
17 const CustomFrequencySelector = ({
25 displayStacked = false,
30 frequencyModel={frequencyModel}
32 weekStartsOn={weekStartsOn}
35 isSubmitted={isSubmitted}
36 displayStacked={displayStacked}
39 frequencyModel={frequencyModel}
41 displayWeekNumbers={displayWeekNumbers}
42 weekStartsOn={weekStartsOn}
44 isSubmitted={isSubmitted}
46 displayStacked={displayStacked}
52 export default CustomFrequencySelector;