Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / applications / calendar / src / app / containers / setup / CalendarReactivateSection.tsx
bloba242a9191d887e1c32fc1a8bf17abc9fd2dc81ba
1 import { c } from 'ttag';
3 import { Alert } from '@proton/components';
4 import type { VisualCalendar } from '@proton/shared/lib/interfaces/calendar';
6 import CalendarTableRows from './CalendarTableRows';
8 interface Props {
9     calendarsToReactivate: VisualCalendar[];
11 const CalendarReactivateSection = ({ calendarsToReactivate = [] }: Props) => {
12     return (
13         <>
14             <Alert className="mb-4" type="info">{c('Info')
15                 .t`You have reactivated your keys and events linked to the following calendars can now be decrypted.`}</Alert>
16             <CalendarTableRows calendars={calendarsToReactivate} />
17         </>
18     );
21 export default CalendarReactivateSection;