Wilmer Arambula
Wilmer Arambula
> > >  > > > That my pslam error > > > > > > It looks like you either have a different version...
What is missing to finish the PR?
I'm thinking of merging this PR into a develop branch, so that the missing stuff can be addressed, do you agree?
> > I'm thinking of merging this PR into a develop branch, so that the missing stuff can be addressed, do you agree? > > Yes. Two things I don't...
If it makes sense, in this case i think it would be better to create a new component, `Menu::widget`, that is responsible for generating all the navigation for all the...
If that's what i mean, could you give me an example of what the syntax would be, to make it clearer?
What if we create a class to generate the navigation items, and we could pass a varadic, or an array that in turn creates the item generation widget, we would...
It could be something like this. ```php NavBar::widget() ->menu( Menu::widget() ->currentPath('/home') ->id('menu_1') ->items( Item::widget()->label('Home')->link('/home'), Item::widget()->label('Link')->link('/link'), Item::widget()->label('Disable')->link('/disable')->disable(), ) ) ->render(); ```
That's fine by me.
I'll help with the review, we're going to refactor all the widgets, but let's work on them one at a time, okay?