"use client" import * as React from "react" import { useTranslation, type Translations, } from "@/components/language-selector" import { Field, FieldLabel } from "@/styles/base-nova/ui-rtl/field" import { InputOTP, InputOTPGroup, InputOTPSlot, } from "@/styles/base-nova/ui-rtl/input-otp" const translations: Translations = { en: { dir: "ltr", values: { verificationCode: "Verification code", }, }, ar: { dir: "rtl", values: { verificationCode: "رمز التحقق", }, }, he: { dir: "rtl", values: { verificationCode: "קוד אימות", }, }, } export function InputOTPRtl() { const { dir, t } = useTranslation(translations, "ar") return ( {t.verificationCode} ) }