How to Create Custom layout In react theme
Hi,
I am having difficulties in react theme to create custom layout without affecting the Master Layout.
Whenever i made change in custom layout, it effect the Master Layout too. Will you guide me to proper documentation or any video you have .
Replies (1)
Hi,
We don't have multi-demo solution yet for the Metronic React application.
I am not able to write the exact solution, but maybe the next could be a solution:
In file src/_metronic/layout/core/LayoutProvider.tsx
we have setLayout
shared method, you can have access for it from hook useLayout
. You can write extra logic where you need it, pass your custom config into this method, and update the Layout view.
Regards,
Keenthemes support
Your Support Matters!
We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.