start removing account
[ProtonMail-WebClient.git] / packages / components / containers / calendar / settings / CalendarTimeSection.tsx
blobbbf05ba07be3716b5ec085d066f96950762c1af2
1 import SettingsSection from '@proton/components/containers/account/SettingsSection';
2 import type { CalendarUserSettings } from '@proton/shared/lib/interfaces/calendar';
4 import AutoDetectPrimaryTimezoneSection from './AutoDetectPrimaryTimezoneSection';
5 import PrimaryTimezoneSection from './PrimaryTimezoneSection';
6 import SecondaryTimezoneSection from './SecondaryTimezoneSection';
7 import ShowSecondaryTimezoneToggleSection from './ShowSecondaryTimezoneToggleSection';
9 interface Props {
10     calendarUserSettings: CalendarUserSettings;
13 const CalendarTimeSection = ({ calendarUserSettings }: Props) => {
14     return (
15         <SettingsSection>
16             <AutoDetectPrimaryTimezoneSection calendarUserSettings={calendarUserSettings} />
17             <PrimaryTimezoneSection calendarUserSettings={calendarUserSettings} />
18             <ShowSecondaryTimezoneToggleSection calendarUserSettings={calendarUserSettings} />
19             <SecondaryTimezoneSection calendarUserSettings={calendarUserSettings} />
20         </SettingsSection>
21     );
24 export default CalendarTimeSection;