"use client" import { useTranslation, type Translations, } from "@/components/language-selector" import { Button } from "@/styles/radix-nova/ui-rtl/button" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/styles/radix-nova/ui-rtl/tooltip" const translations: Translations = { en: { dir: "ltr", values: { content: "Add to library", left: "Left", top: "Top", bottom: "Bottom", right: "Right", }, }, ar: { dir: "rtl", values: { content: "إضافة إلى المكتبة", left: "يسار", top: "أعلى", bottom: "أسفل", right: "يمين", }, }, he: { dir: "rtl", values: { content: "הוסף לספרייה", left: "שמאל", top: "למעלה", bottom: "למטה", right: "ימין", }, }, } const sides = ["left", "top", "bottom", "right"] as const export function TooltipRtl() { const { t } = useTranslation(translations, "ar") return (