Introducing CrudHunt:Open-source Full-stack CRUDs for Next.js by KeenThemes
Browse CrudHunt

Recommended method to change <Toolbar> on a per page basis


Hello all,

While working and exploring the Theme demo files I noticed there were multiple <ToolBar> elements "ToolBar1" "ToolBar2" etc. My question is what would be the suggested method to actually switch between these different toolbars as it's not highlighted in the docs or within the codebase.

My Goal:

I would like to use a default toolbar (say <ToolBar1 />), but on special pages I would like to switch to <ToolBar2 />, but only for that page.

Does anybody have any suggestions?


Text formatting options
Submit

Replies (0)