+
+ {props.rows.map((prop) => (
+ {prop.label}
+ ))}
+
+
+ {props.rows.map((element) => {
+ return (
+
+ );
+ })}
+
+
+ );
+};
+
+export default InnovenergyPropertyGrid;
diff --git a/typescript/Frontend/src/components/InnovenergySnackbar.tsx b/typescript/Frontend/src/components/Layout/InnovenergySnackbar.tsx
similarity index 100%
rename from typescript/Frontend/src/components/InnovenergySnackbar.tsx
rename to typescript/Frontend/src/components/Layout/InnovenergySnackbar.tsx
diff --git a/typescript/Frontend/src/components/Layout/InnovenergyTabs.tsx b/typescript/Frontend/src/components/Layout/InnovenergyTabs.tsx
index 1d56e376b..17b70ce73 100644
--- a/typescript/Frontend/src/components/Layout/InnovenergyTabs.tsx
+++ b/typescript/Frontend/src/components/Layout/InnovenergyTabs.tsx
@@ -1,4 +1,4 @@
-import { SxProps, Tabs, Theme, useTheme } from "@mui/material";
+import { SxProps, Tabs, useTheme } from "@mui/material";
import { ReactNode } from "react";
import { colors } from "index";
@@ -25,7 +25,6 @@ const InnovenergyTabs = (props: AntTabsProps) => {
"&.Mui-selected": {
color: colors.black,
backgroundColor: theme.palette.primary.light,
- borderColor: `#90A7c5 #90A7c5 #fff`,
},
"& .MuiTabs-indicator": {
display: "flex",
diff --git a/typescript/Frontend/src/components/Layout/InnovenergyTextfield.tsx b/typescript/Frontend/src/components/Layout/InnovenergyTextfield.tsx
index c342118e2..14abdfb7d 100644
--- a/typescript/Frontend/src/components/Layout/InnovenergyTextfield.tsx
+++ b/typescript/Frontend/src/components/Layout/InnovenergyTextfield.tsx
@@ -1,17 +1,4 @@
-import {
- Grid,
- InputLabel,
- Paper,
- Table,
- TableBody,
- TableCell,
- TableContainer,
- TableHead,
- TableRow,
- TextField,
- useTheme,
-} from "@mui/material";
-import { colors } from "../../index";
+import { Grid, InputLabel, TextField } from "@mui/material";
export interface I_InnovenergyTextfieldProps {
id: string;
@@ -26,67 +13,7 @@ export interface I_InnovenergyTextfieldProps {
error?: boolean;
}
-export const IePropertyGrid = (props: {
- rows: I_InnovenergyTextfieldProps[];
-}) => {
- return (
-
-
- {props.rows.map((prop) => (
- {prop.label}
- ))}
-
-
- {props.rows.map((element) => {
- return (
-
- );
- })}
-
-
- );
-};
-
const InnovenergyTextfield = (props: I_InnovenergyTextfieldProps) => {
- const theme = useTheme();
return (