change list sort doctors page & change function search list specialties & remove pagination from page specialties & fix zoom page & change design all fields & change regex validation phone number for nobat724 and clinic-pro

This commit is contained in:
Ehsan
2025-05-14 15:57:40 +03:30
parent 845db52e31
commit feba3c4a64
10 changed files with 42 additions and 82 deletions
+2 -8
View File
@@ -1,13 +1,7 @@
import SearchD from "@/components/icons/SearchD";
import { Button, ButtonGroup, TextField } from "@mui/material";
function SmSearch({ placeholder, onSearch }) {
const handleSearchChange = (event) => {
if (onSearch) {
onSearch(event.target.value);
}
};
function SmSearch({ placeholder, searchHandler }) {
return (
<ButtonGroup
variant="contained"
@@ -32,7 +26,7 @@ function SmSearch({ placeholder, onSearch }) {
}}
placeholder={placeholder}
dir="rtl"
onChange={handleSearchChange}
onChange={e => searchHandler(e)}
className={`!shadow-none !w-full !px-5 !h-full bg-[#FAFAFA] !text-[14px] md:!text-[16px] !min-w-[50%] !rounded-0 !font-normal !text-[#6C757D]`}
/>
<Button