Skip to content

Commit

Permalink
Merge pull request #170 from FriedRiceNoodles/feat/tabs
Browse files Browse the repository at this point in the history
Feat/tabs
  • Loading branch information
ZIA-Hans authored Oct 21, 2024
2 parents d154e39 + 1a5ae3b commit b47f04b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"@banana/banana-cli": "0.2.0",
"@banana-ui/react": "1.20.1"
},
"changesets": ["odd-lizards-search"]
"changesets": ["orange-mugs-cross"]
}
4 changes: 2 additions & 2 deletions packages/banana/src/tabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ export default class BTabs extends LitElement {
${this.type === 'line'
? html`<div part="active-tab-underlined" class="tabs__underlined"></div>`
: nothing}
<slot name="nav"></slot>
<slot name="nav" @slotchange=${this.syncTabsAndPanels}></slot>
</div>
</div>
<slot name="right-extra-render"></slot>
</div>
</div>
<slot name="body"></slot>
<slot name="body" @slotchange=${this.syncTabsAndPanels}></slot>
</div>
`;
}
Expand Down

0 comments on commit b47f04b

Please sign in to comment.