Update all non-major dependencies
[ProtonMail-WebClient.git] / applications / calendar / src / app / containers / setup / CalendarOnboardingContainer.tsx
blob64f66004c82b3aa6becceb4cd7268415cd17f2d6
1 import { useActiveBreakpoint } from '@proton/components/index';
2 import type { VIEWS } from '@proton/shared/lib/calendar/constants';
4 import CalendarOnboardingModal from '../../components/onboarding/CalendarOnboardingModal';
5 import DummyCalendarContainerView from '../calendar/DummyCalendarContainerView';
7 interface Props {
8     onDone: () => void;
9     drawerView?: VIEWS;
12 const CalendarOnboardingContainer = ({ onDone, drawerView }: Props) => {
13     const { viewportWidth } = useActiveBreakpoint();
15     return (
16         <>
17             <DummyCalendarContainerView drawerView={drawerView} isSmallViewport={viewportWidth['<=small']} />
18             <CalendarOnboardingModal open onDone={onDone} />
19         </>
20     );
23 export default CalendarOnboardingContainer;