"use client" import * as React from "react" import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/examples/base/ui-rtl/resizable" import { useTranslation, type Translations, } from "@/components/language-selector" const translations: Translations = { en: { dir: "ltr", values: { one: "One", two: "Two", three: "Three", }, }, ar: { dir: "rtl", values: { one: "واحد", two: "اثنان", three: "ثلاثة", }, }, he: { dir: "rtl", values: { one: "אחד", two: "שניים", three: "שלושה", }, }, } export function ResizableRtl() { const { dir, t } = useTranslation(translations, "ar") return (
{t.one}
{t.two}
{t.three}
) }