Skip to main content

Arabic Text.jsx Now

return fontLoaded; ;

const formattedContent = useArabicNumerals ? convertToArabicNumerals(children) : children; Arabic Text.jsx

return String(text).replace(/\d/g, (digit) => westernToEastern[digit]); ; return ( &lt

return ( <span dir="rtl" lang="ar" style=styles className= arabic-text $className ...props > children </span> ); ; const styles =

const styles = ;