Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Buttons

Manav Rathib96a8ed59edc
diff --git a/web/packages/new/photos/components/WhatsNew.tsx b/web/packages/new/photos/components/WhatsNew.tsx
index 8186a83fd3..c7cb25cbaf 100644
--- a/web/packages/new/photos/components/WhatsNew.tsx
+++ b/web/packages/new/photos/components/WhatsNew.tsx
@@ -1,9 +1,12 @@
+import ArrowForward from "@mui/icons-material/ArrowForward";
import {
+ Button,
Dialog,
DialogActions,
DialogContent,
DialogContentText,
DialogTitle,
+ styled,
useMediaQuery,
} from "@mui/material";
import React from "react";
@@ -27,13 +30,20 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ onClose }) => {
<DialogContentText>Content</DialogContentText>
</DialogContent>
<DialogActions>
- <button onClick={onClose}>Hello</button>
+ <Button
+ onClick={onClose}
+ color="accent"
+ fullWidth
+ endIcon={<ArrowForward />}
+ >
+ <ButtonContents>{"Continue"}</ButtonContents>
+ </Button>
</DialogActions>
</Dialog>
);
};
-// const Contents = styled("div")`
-// width: 300px;
-// height: 300px;
-// `;
+const ButtonContents = styled("div")`
+ width: 100%;
+ text-align: left;
+`;
diff --git a/web/packages/new/tsconfig.json b/web/packages/new/tsconfig.json
index d30f8c21f3..912513dea5 100644
--- a/web/packages/new/tsconfig.json
+++ b/web/packages/new/tsconfig.json
@@ -1,4 +1,8 @@
{
"extends": "@/build-config/tsconfig-typecheck.json",
- "include": [".", "../next/global-electron.d.ts"]
+ "include": [
+ ".",
+ "../next/global-electron.d.ts",
+ "../shared/themes/mui-theme.d.ts"
+ ]
}