Commit d2354425 authored by Mohammad Javad Ghasemy's avatar Mohammad Javad Ghasemy 🦈

thank you ant because of rtl

parent d71f14ea
......@@ -6,7 +6,10 @@ import {
Route,
Link
} from "react-router-dom";
import NewBook from './Newbook';
import { ConfigProvider } from 'antd';
import NewBook from './NewBook';
import 'antd/dist/antd.css';
function App() {
return (
<Router>
......@@ -26,5 +29,9 @@ function App() {
export default App;
if (document.getElementById('App')) {
ReactDOM.render(<App />, document.getElementById('App'));
ReactDOM.render(
<ConfigProvider direction="rtl">
<App />
</ConfigProvider>
, document.getElementById('App'));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment