Menu items
Menu items
By default the Admin has 3 menu items: Editor, Playground and Settings (for the editor "Deploy").
By providing the React Bricks configuration getAdminMenu
function, you can customize the menu items for the Admin and Editor users. The function receives an object as argument and you have isAdmin
available on the object, so that you can provide two different menu items for Admin and Editor users.