xxxxxxxxxx
//hello every body
//to my Iranian friends :
//the best way to make RTL in you project by ant design is add this code on you jsx tag
style={{direction: 'rtl'}}
//and done you have rtl on your project
xxxxxxxxxx
// Just add direction="rtl" to your ConfigProvider component
import React from 'react';
import { ConfigProvider } from 'antd';
// ...
const Demo: React.FC = () => (
<ConfigProvider direction="rtl">
<App />
</ConfigProvider>
);
export default Demo;