1 import type { PropsWithChildren } from 'react';
3 import { c } from 'ttag';
5 import { Button } from '@proton/atoms';
6 import { Alert, ModalTwoContent, ModalTwoFooter, ModalTwoHeader } from '@proton/components';
12 function ErrorState({ children, onClose }: PropsWithChildren<Props>) {
15 <ModalTwoHeader title={c('Title').t`Manage secure link`} />
17 <Alert className="mb-4" type="error">
22 <Button onClick={onClose}>{c('Action').t`Done`}</Button>
28 export default ErrorState;