feat: icon left to right review
This commit is contained in:
@@ -7,7 +7,8 @@ import {
|
|||||||
LayoutTemplate,
|
LayoutTemplate,
|
||||||
Maximize2,
|
Maximize2,
|
||||||
Minimize2,
|
Minimize2,
|
||||||
ArrowLeftRight,
|
MoveRight,
|
||||||
|
MoveLeft,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
@@ -65,9 +66,11 @@ export const ControlButtons = ({
|
|||||||
direction === "ltr" ? "gauche à droite" : "droite à gauche"
|
direction === "ltr" ? "gauche à droite" : "droite à gauche"
|
||||||
})`}
|
})`}
|
||||||
>
|
>
|
||||||
<ArrowLeftRight
|
{direction === "rtl" ? (
|
||||||
className={cn("h-6 w-6 transition-transform", direction === "rtl" && "rotate-180")}
|
<MoveLeft className="h-6 w-6" />
|
||||||
/>
|
) : (
|
||||||
|
<MoveRight className="h-6 w-6" />
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user