diff --git a/app/component/Field.js b/app/component/Field.js index 092565c..92470ca 100644 --- a/app/component/Field.js +++ b/app/component/Field.js @@ -3,6 +3,8 @@ import { TextField } from "@mui/material"; function Field({ title, type, props, multiline, isPlaceHolder }) { return ( - +
diff --git a/components/icons/TickAlert.js b/components/icons/TickAlert.js new file mode 100644 index 0000000..eb5d6f3 --- /dev/null +++ b/components/icons/TickAlert.js @@ -0,0 +1,25 @@ +function TickAlert({ fill }) { + return ( + + + + + + + + + + + ); +} + +export default TickAlert; diff --git a/components/layoutPanel/header/icons/Search.js b/components/layoutPanel/header/icons/Search.js new file mode 100644 index 0000000..562895b --- /dev/null +++ b/components/layoutPanel/header/icons/Search.js @@ -0,0 +1,68 @@ +import SearchHeaderP from "@/components/icons/SearchHeaderP"; +import { Button, Popover, TextField } from "@mui/material"; +import { useState } from "react"; + +function Search() { + const [anchorEl, setAnchorEl] = useState(null); + + const handleClick = (event) => setAnchorEl(event.currentTarget); + const handleClose = () => setAnchorEl(null); + + const open = Boolean(anchorEl); + const id = open ? "simple-popover" : undefined; + + return ( + <> + + + + + + ); +} + +export default Search; diff --git a/components/layoutPanel/header/icons/index.js b/components/layoutPanel/header/icons/index.js index 735994f..0de1a2f 100644 --- a/components/layoutPanel/header/icons/index.js +++ b/components/layoutPanel/header/icons/index.js @@ -1,25 +1,14 @@ import { Button } from "@mui/material"; import NotificationP from "@/components/icons/NotificationP"; import SettingP from "@/components/icons/SettingP"; -import SearchHeaderP from "@/components/icons/SearchHeaderP"; import Theme from "./Theme"; +import Search from "./Search"; function Icons() { return ( -
+
- +