Skip to content

armgit / ente

Public Imported from GitHub
0

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

Unused

Manav Rathid87f8e04eebb
diff --git a/web/packages/base/components/FormPaper.tsx b/web/packages/base/components/FormPaper.tsx
deleted file mode 100644
index 9676a04b88..0000000000
--- a/web/packages/base/components/FormPaper.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import {
- Paper,
- Stack,
- styled,
- Typography,
- type TypographyProps,
-} from "@mui/material";
-import React from "react";
-import { isSxArray } from "./utils/sx";
-
-export const FormPaper = styled(Paper)(({ theme }) => ({
- padding: theme.spacing(4, 2),
- maxWidth: "360px",
- width: "100%",
- textAlign: "left",
-}));
-
-export const FormPaperTitle: React.FC<TypographyProps> = ({
- sx,
- children,
- ...rest
-}) => (
- <Typography
- variant="h2"
- sx={{ mb: 8, ...(sx ? (isSxArray(sx) ? sx : [sx]) : []) }}
- {...rest}
- >
- {children}
- </Typography>
-);
-
-export const FormPaperFooter: React.FC<React.PropsWithChildren> = ({
- children,
-}) => (
- <Stack
- direction="row"
- sx={{
- mt: 5,
- textAlign: "center",
- justifyContent: "space-evenly",
- }}
- >
- {children}
- </Stack>
-);