I want to build react UI with right to left direction. So far I've tested bootstrap className="pull-right"
or manually overriding CSS properties with *{direction:rtl;}
and .float-right:{float:right;}
on react-bootstrap components. However this seems to be a broken approach as it doesn't work on some elements such as this drop down button that loses its default padding and shape or some items will still have their previous orders relative to each other.
Is there any react framework for having RTL direction? In other words, there are frameworks for React + Bootstrap and Bootstrap + RTL. Is there anything like
- React + Bootstrap + RTL? or React + some CSS framework + RTL?
I was thinking about using bootstrap-rtl instead of bootstrap-react components and wrap those HTML/CSS components with my react components; However boostrap needs jQuery library and I read that, one needs to be cautious when thinking about this combination (react + jquery).