aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/Page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/views/common/Page.tsx')
-rw-r--r--FrontEnd/src/views/common/Page.tsx15
1 files changed, 0 insertions, 15 deletions
diff --git a/FrontEnd/src/views/common/Page.tsx b/FrontEnd/src/views/common/Page.tsx
deleted file mode 100644
index 86fdb2f5..00000000
--- a/FrontEnd/src/views/common/Page.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import { ComponentPropsWithoutRef, Ref } from "react";
-import classNames from "classnames";
-
-interface PageProps extends ComponentPropsWithoutRef<"div"> {
- noTopPadding?: boolean;
- pageRef?: Ref<HTMLDivElement>;
-}
-
-export default function Page({ noTopPadding, pageRef, className, children }: PageProps) {
- return (
- <div ref={pageRef} className={classNames(className, "cru-page", noTopPadding && "cru-page-no-top-padding")}>
- {children}
- </div>
- );
-}