how to control the css according to ltr or rtl languages

145
0
02-26-2024 08:13 AM
Labels (2)
MichaelLev
Occasional Contributor III

according if the user ui language is English or some rtl language (e.g. Hebrew), I need to control the direction attribute of the css. How can I sense it in tsx / ts / css files and set the right direction attribute (ltr or rtl)?

0 Kudos
0 Replies