Hi,
i'm using Metronic default Theme demo1
every Page containte Fiter Button and Creact React APP Modal with 5 steps
how can i Change Create Button Behaviour Depends on Current Page ?
Hi Fathey Abdelslam,
This quite depends on the complexity of your components and your component logic. I think one of the easiest ways to implement it is by rendering your buttons conditionally.
{condition && <button>Create React App 1 Button<button>}
{!condition && <button>Create React App 2 Button<button>}
thanks
i've solved this Problem by using Native react Context api
Hi Fathey Abdelslam,
Glad to hear that. All the best with your project!
Please don't hesitate to reach out if you need anything more from us.
Regards,
Lauris Stepanovs,
Keenthemes Support Team