diff --git a/Client/src/Pages/Settings/styled.jsx b/Client/src/Components/ConfigBox/index.jsx similarity index 91% rename from Client/src/Pages/Settings/styled.jsx rename to Client/src/Components/ConfigBox/index.jsx index aeefdaebb..7650dd47f 100644 --- a/Client/src/Pages/Settings/styled.jsx +++ b/Client/src/Components/ConfigBox/index.jsx @@ -1,6 +1,6 @@ import { Stack, styled } from "@mui/material"; -export const ConfigBox = styled(Stack)(({ theme }) => ({ +const ConfigBox = styled(Stack)(({ theme }) => ({ display: "flex", flexDirection: "row", justifyContent: "space-between", @@ -34,3 +34,5 @@ export const ConfigBox = styled(Stack)(({ theme }) => ({ color: theme.palette.text.tertiary, }, })); + +export default ConfigBox; diff --git a/Client/src/Components/Inputs/Search/index.jsx b/Client/src/Components/Inputs/Search/index.jsx index c944955b9..9a1995726 100644 --- a/Client/src/Components/Inputs/Search/index.jsx +++ b/Client/src/Components/Inputs/Search/index.jsx @@ -40,6 +40,7 @@ const SearchAdornment = () => { //TODO keep search state inside of component const Search = ({ + label, id, options, filteredBy, @@ -76,6 +77,14 @@ const Search = ({ getOptionLabel={(option) => option[filteredBy]} renderInput={(params) => ( + + {label} + { Your pings won't be sent during this time frame - - - General Settings - - + + + + General Settings + + + + { + handleFormChange("name", event.target.value); + }} + error={errors["name"] ? true : false} + helperText={errors["name"]} + />