From ae29519b00ba0bf5be1eef4fbd41db382fab422f Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 9 Nov 2024 14:58:05 +0530 Subject: [PATCH] Unused --- .../PhotoViewer/styledComponents/Legend.tsx | 6 ---- .../styledComponents/LegendContainer.tsx | 5 --- .../components/pages/gallery/OptionIcon.tsx | 34 ------------------- 3 files changed, 45 deletions(-) delete mode 100644 web/apps/photos/src/components/PhotoViewer/styledComponents/Legend.tsx delete mode 100644 web/apps/photos/src/components/PhotoViewer/styledComponents/LegendContainer.tsx delete mode 100644 web/apps/photos/src/components/pages/gallery/OptionIcon.tsx diff --git a/web/apps/photos/src/components/PhotoViewer/styledComponents/Legend.tsx b/web/apps/photos/src/components/PhotoViewer/styledComponents/Legend.tsx deleted file mode 100644 index bb00f56d91..0000000000 --- a/web/apps/photos/src/components/PhotoViewer/styledComponents/Legend.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { styled } from "@mui/material"; -export const Legend = styled("span")` - font-size: 20px; - color: #ddd; - display: inline; -`; diff --git a/web/apps/photos/src/components/PhotoViewer/styledComponents/LegendContainer.tsx b/web/apps/photos/src/components/PhotoViewer/styledComponents/LegendContainer.tsx deleted file mode 100644 index d0610ed745..0000000000 --- a/web/apps/photos/src/components/PhotoViewer/styledComponents/LegendContainer.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { styled } from "@mui/material"; -export const LegendContainer = styled("div")` - display: flex; - justify-content: space-between; -`; diff --git a/web/apps/photos/src/components/pages/gallery/OptionIcon.tsx b/web/apps/photos/src/components/pages/gallery/OptionIcon.tsx deleted file mode 100644 index 0d7d3e8124..0000000000 --- a/web/apps/photos/src/components/pages/gallery/OptionIcon.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { styled } from "@mui/material"; -export const OptionIconWrapper = styled("div")` - display: inline-block; - opacity: 0; - font-weight: bold; - width: 24px; -`; -interface Props { - onClick: () => void; -} -const OptionIcon = ({ onClick }: Props) => ( - { - onClick(); - e.stopPropagation(); - }} - style={{ marginBottom: "2px" }} - > - - - - - -); -export default OptionIcon;