import { CalendarUserSettings } from '@proton/shared/lib/interfaces/calendar' ; import { SettingsSection } from '../../account' ; import PrimaryTimezoneSection from './PrimaryTimezoneSection' ; import ShowSecondaryTimezoneToggle from './ShowSecondaryTimezoneToggle' ; import SecondaryTimezoneSection from './SecondaryTimezoneSection' ; import AutoDetectPrimaryTimezoneToggle from './AutoDetectPrimaryTimezoneToggle' ; interface Props { calendarUserSettings : CalendarUserSettings ; } const CalendarTimeSection = ( { calendarUserSettings } ) => { return ( < SettingsSection > < AutoDetectPrimaryTimezoneToggle calendarUserSettings = { calendarUserSettings } / > < PrimaryTimezoneSection calendarUserSettings = { calendarUserSettings } /> < ShowSecondaryTimezoneToggle calendarUserSettings = { calendarUserSettings } / > < SecondaryTimezoneSection calendarUserSettings = { calendarUserSettings } /> < /SettingsSection>); } ; export default CalendarTimeSection ;