feat: icon left to right review

This commit is contained in:
Julien Froidefond
2025-02-22 07:49:14 +01:00
parent d77b3c57d2
commit b208a2aaf6

View File

@@ -7,7 +7,8 @@ import {
LayoutTemplate,
Maximize2,
Minimize2,
ArrowLeftRight,
MoveRight,
MoveLeft,
} from "lucide-react";
import { cn } from "@/lib/utils";
@@ -65,9 +66,11 @@ export const ControlButtons = ({
direction === "ltr" ? "gauche à droite" : "droite à gauche"
})`}
>
<ArrowLeftRight
className={cn("h-6 w-6 transition-transform", direction === "rtl" && "rotate-180")}
/>
{direction === "rtl" ? (
<MoveLeft className="h-6 w-6" />
) : (
<MoveRight className="h-6 w-6" />
)}
</button>
<button
onClick={(e) => {