ente/src/components/IncognitoWarning.tsx
2021-08-13 08:17:10 +05:30

19 lines
543 B
TypeScript

import React from 'react';
import constants from 'utils/strings/constants';
import MessageDialog from './MessageDialog';
export default function IncognitoWarning() {
return (
<MessageDialog
show={true}
onHide={() => null}
attributes={{
title: constants.LOCAL_STORAGE_NOT_ACCESSIBLE,
staticBackdrop: true,
nonClosable: true,
}}>
<div>{constants.LOCAL_STORAGE_NOT_ACCESSIBLE_MESSAGE}</div>
</MessageDialog>
);
}