This commit is contained in:
Cory LaViska
2022-08-25 16:24:13 -04:00
parent c2bbb0e8a4
commit 4cc5baaa0b
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
## Next
- Fixed a bug in `<sl-popup>` that didn't account for the arrow's diagonal size
- Fixed a bug in `<sl-tree-item>` that prevented custom expand/collapse icons from rendering
## 2.0.0-beta.82

View File

@@ -234,7 +234,7 @@ export default class SlTreeItem extends ShoelaceElement {
${when(
showExpandButton,
() => html`
<slot name="${this.expanded ? 'expanded-icon' : 'collapsed-icon'}">
<slot name="${this.expanded ? 'expand-icon' : 'collapse-icon'}">
<sl-icon
library="system"
name="${this.expanded ? 'chevron-down' : isRtl ? 'chevron-left' : 'chevron-right'}"