import ItemDoctor from "@/app/component/ItemDoctor"
import Pagination from "@/app/component/Pagination"
import SmSearch from "@/components/searchHead/SmSearch"
import List from "./List"
import SearchBar from "./SearchBar"

function Doctors({ doctors }) {
    return (
        <div className="opacity-page">
            <SearchBar />
            <List doctors={doctors} />
        </div>
    )
}

export default Doctors