diff --git a/Client/src/Components/TabPanels/Status/Card/Server/index.jsx b/Client/src/Components/TabPanels/Status/Card/Server/index.jsx index e49d347aa..e4a701d60 100644 --- a/Client/src/Components/TabPanels/Status/Card/Server/index.jsx +++ b/Client/src/Components/TabPanels/Status/Card/Server/index.jsx @@ -1,42 +1,50 @@ -import { ServerStartAdornment, ServerEndAdornment } from "../../../../Inputs/TextInput/Adornments"; +import { + ServerEndAdornment, +} from "../../../../Inputs/TextInput/Adornments"; import Search from "../../../../Inputs/Search"; -import {useState} from "react" - +import { useState } from "react"; +import ReorderRoundedIcon from "@mui/icons-material/ReorderRounded"; +import { Stack, IconButton } from "@mui/material"; +import React from "react"; /** - * + * * @param {*} id The Id of the Server component * @param {*} removeItem The function used to remove a single server * @param {*} onChange The Change handler function to handle when the server value is changed * used to update the server(monitor) lists * @param {*} monitors The server monitors options * @param {*} value the option label of the server/monitor, namely the monitor name field - * @returns + * @returns */ -const Server = ({ id, removeItem, onChange, monitors, value }) => { - const [search, setSearch] = useState(""); +const Server = (props) => { + const [search, setSearch] = useState(""); const handleSearch = (val) => { setSearch(val); }; return ( - } - endAdornment={ - - } - handleInputChange={handleSearch} - handleChange={onChange} - /> + + + + + + } + handleInputChange={handleSearch} + handleChange={props.onChange} + /> + ); }; -export default Server; \ No newline at end of file +export default Server;