popover search bar header

This commit is contained in:
Ehsan
2024-10-25 03:42:25 +03:30
parent 50c7386247
commit 2a043e5932
6 changed files with 103 additions and 20 deletions
+2
View File
@@ -3,6 +3,8 @@ import { TextField } from "@mui/material";
function Field({ title, type, props, multiline, isPlaceHolder }) {
return (
<TextField
{...props}
size="small"
placeholder={isPlaceHolder && title}
label={!isPlaceHolder ? title : ""}
type={type || "text"}