other-emerald
other-emerald15mo ago

Also Is there anyway I can change from

Also, Is there anyway I can change from mui to antdesign?
3 Replies
stormy-gold
stormy-gold15mo ago
Same way, you can regenerate your app and choose antdesign, instead of MUI
kapa.ai
kapa.ai15mo ago
Hey @batuhanw! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave: ---------------------- Yes, you can change the layout direction of your Refine app with Ant Design by using the configProviderProps prop. This prop allows you to pass in custom configurations to the Ant Design's ConfigProvider (https://ant.design/components/config-provider). For example, you can set the layout direction to rtl (right-to-left) by adding the following code to your App.tsx file:
const App: React.FC = () => (
<Refine
...
configProviderProps={{
direction: "rtl",
}}
/>
);
const App: React.FC = () => (
<Refine
...
configProviderProps={{
direction: "rtl",
}}
/>
);
You can find more information about the configProviderProps prop in the Refine API References (https://refine.dev/docs/2.xx.xx/api-references/components/refine-config). ----------------------
kapa.ai
kapa.ai15mo ago
<@146068211501236224> kapa.ai is still learning and improving, please let us how it did by reacting below