π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
type for tsc
Manav Rathid51fb99fd31a
diff --git a/web/packages/shared/components/DialogBox/TitleWithCloseButton.tsx b/web/packages/shared/components/DialogBox/TitleWithCloseButton.tsxindex 54ed1486d9..35304b9cf0 100644--- a/web/packages/shared/components/DialogBox/TitleWithCloseButton.tsx+++ b/web/packages/shared/components/DialogBox/TitleWithCloseButton.tsx@@ -6,12 +6,17 @@ import {Typography,type DialogProps,} from "@mui/material";+import React from "react";-const DialogTitleWithCloseButton = (props) => {- const { children, onClose, ...other } = props;+interface DialogTitleWithCloseButtonProps {+ onClose: () => void;+}+const DialogTitleWithCloseButton: React.FC<+ React.PropsWithChildren<DialogTitleWithCloseButtonProps>+> = ({ children, onClose }) => {return (- <DialogTitle {...other}>+ <DialogTitle><SpaceBetweenFlex><Typography variant="h3" fontWeight={"bold"}>{children}