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';
9 calendarsToReactivate: VisualCalendar[];
11 const CalendarReactivateSection = ({ calendarsToReactivate = [] }: Props) => {
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} />
21 export default CalendarReactivateSection;