diff --git a/Client/src/Components/Inputs/Select/index.css b/Client/src/Components/Inputs/Select/index.css
new file mode 100644
index 000000000..0777b29e2
--- /dev/null
+++ b/Client/src/Components/Inputs/Select/index.css
@@ -0,0 +1,19 @@
+.select-component > .MuiSelect-select {
+ height: 34px !important;
+ display: flex !important;
+ align-items: center;
+}
+.MuiInputBase-root:has(> .MuiSelect-select) {
+ min-width: 150px;
+}
+.MuiInputBase-root:has(> .MuiSelect-select),
+.MuiMenu-List .MuiMenuItem-root {
+ font-size: var(--env-var-font-size-medium);
+ color: var(--env-var-color-5);
+}
+.MuiInputBase-root:has(> .MuiSelect-select) fieldset {
+ border-color: var(--env-var-color-29);
+}
+.MuiInputBase-root:not(.Mui-focused):has(> .MuiSelect-select):hover fieldset {
+ border-color: var(--env-var-color-29);
+}
diff --git a/Client/src/Components/Inputs/Select/index.jsx b/Client/src/Components/Inputs/Select/index.jsx
new file mode 100644
index 000000000..a02accc5e
--- /dev/null
+++ b/Client/src/Components/Inputs/Select/index.jsx
@@ -0,0 +1,65 @@
+import { useTheme } from "@emotion/react";
+import { MenuItem, Select as MuiSelect } from "@mui/material";
+import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
+
+import "./index.css";
+
+const Select = ({ id, placeholder, isHidden, value, items, onChange, sx }) => {
+ const theme = useTheme();
+ const itemStyles = {
+ fontSize: "var(--env-var-font-size-medium)",
+ color: theme.palette.otherColors.bluishGray,
+ textTransform: "capitalize",
+ borderRadius: `${theme.shape.borderRadius}px`,
+ margin: theme.gap.xs,
+ };
+
+ return (
+
+ {placeholder && (
+
+ )}
+ {items.map((item) => (
+
+ ))}
+
+ );
+};
+
+export default Select;
diff --git a/Client/src/Pages/Incidents/index.jsx b/Client/src/Pages/Incidents/index.jsx
index 241e99c3b..1b786e11d 100644
--- a/Client/src/Pages/Incidents/index.jsx
+++ b/Client/src/Pages/Incidents/index.jsx
@@ -1,12 +1,6 @@
import { useState, useEffect } from "react";
import { useSelector } from "react-redux";
-import {
- Select,
- MenuItem,
- Typography,
- ButtonGroup,
- Stack,
-} from "@mui/material";
+import { Typography, ButtonGroup, Stack } from "@mui/material";
import Button from "../../Components/Button";
import axiosInstance from "../../Utils/axiosConfig";
@@ -15,6 +9,7 @@ import { StatusLabel } from "../../Components/Label";
import { useTheme } from "@emotion/react";
import "./index.css";
+import Select from "../../Components/Inputs/Select";
const Incidents = () => {
const theme = useTheme();
@@ -59,6 +54,7 @@ const Incidents = () => {
fetchIncidents();
}, [authState]);
+ console.log(monitors);
const handleSelect = (event) => {
setSelectedMonitor(event.target.value);
};
@@ -118,16 +114,14 @@ const Incidents = () => {
>
Incident history for:
-
+
-
+
);
};