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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user