diff --git a/components/clinic/components/about/ListBime.js b/components/clinic/components/about/ListBime.js
index c957c96..3577f3e 100644
--- a/components/clinic/components/about/ListBime.js
+++ b/components/clinic/components/about/ListBime.js
@@ -1,23 +1,56 @@
import CustomLoading from "@/app/component/loading/Custom";
+import ArrowLeftList from "@/components/icons/ArrowLeftList";
+import { Button } from "@mui/material";
import Image from "next/image";
+import { useRef } from "react";
function ListBime({ data, loading }) {
+ const list = useRef();
+
+ const handleScroll = (type) => {
+ console.log(list);
+
+ list.current.scrollBy({
+ left: type === "left" ? -200 : 200,
+ behavior: "smooth",
+ });
+ };
+
return (
-
- {data.list_bime.map((item, idx) => (
-
- -
-
-
- {item.name}
-
-
-
- ))}
-
+
+
+
+ {data.list_bime.map((item, idx) => (
+
+ -
+
+
+ {item.name}
+
+
+
+ ))}
+
+
+
);
}
diff --git a/components/icons/ArrowLeftList.js b/components/icons/ArrowLeftList.js
new file mode 100644
index 0000000..6631be8
--- /dev/null
+++ b/components/icons/ArrowLeftList.js
@@ -0,0 +1,22 @@
+function ArrowLeftList() {
+ return (
+
+ );
+}
+
+export default ArrowLeftList;