diff --git a/src/components/reader/components/ControlButtons.tsx b/src/components/reader/components/ControlButtons.tsx
index 2188e9a..b3d552d 100644
--- a/src/components/reader/components/ControlButtons.tsx
+++ b/src/components/reader/components/ControlButtons.tsx
@@ -1,11 +1,12 @@
import { ControlButtonsProps } from "../types";
import { cn } from "@/lib/utils";
-import { ChevronLeft, ChevronRight, LayoutTemplate, SplitSquareVertical } from "lucide-react";
+import { ChevronLeft, ChevronRight, X, SplitSquareVertical, LayoutTemplate } from "lucide-react";
export const ControlButtons = ({
showControls,
- onPrevious,
- onNext,
+ onToggleControls,
+ onPreviousPage,
+ onNextPage,
onClose,
currentPage,
totalPages,
@@ -14,10 +15,10 @@ export const ControlButtons = ({
}: ControlButtonsProps) => {
return (
<>
- {/* Boutons en haut */}
+ {/* Bouton mode double page */}
@@ -39,12 +40,29 @@ export const ControlButtons = ({
+ {/* Bouton fermer */}
+ {onClose && (
+
+ )}
+
{/* Bouton précédent */}
{currentPage > 1 && (