Open b-maslennikov opened 1 month ago
Hi,
Any updates on this? I agree with @b-maslennikov that this is quite unpleasant. Event the slot title
doesn't allow to actually customise the title. Maybe there should be a distinction between title
and label
/text
or something.
Problem to solve
we can't customize collapse/expand button for each specific item
for example: 1st level of items are servers. server icon should be displayed 2st level of items are users. user icon should be displayed 3rd level of items are folder. folder icon should be displayed
also I need to customize the color, variant etc
Proposed solution
This can be achived by adding a new slot with props: { buttonProps, item, isLoading, isSelected, isActive, ....... }
script: