You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think both Item and Items methods could be combined into a single Item method (just like Child in tree does) and Items should simply returns list items (just like Children in tree does).
If you're ok with that, i can make a pull request.
The text was updated successfully, but these errors were encountered:
Still taking a look at the new list component :)
This time, i realize that there are no methods to return list items :(
Looking also at the tree component, i see that:
Child
method, to add childrenlipgloss/tree/tree.go
Line 133 in 33b3263
Children
method to return childrenlipgloss/tree/tree.go
Line 290 in 33b3263
On the list side:
Item
method to add itemlipgloss/list/list.go
Line 184 in 33b3263
Items
method to add itemslipgloss/list/list.go
Line 198 in 33b3263
I think both
Item
andItems
methods could be combined into a singleItem
method (just likeChild
in tree does) andItems
should simply returns list items (just likeChildren
in tree does).If you're ok with that, i can make a pull request.
The text was updated successfully, but these errors were encountered: