tabs support + cleanup

This commit is contained in:
Henry Jameson 2024-02-22 00:02:24 +02:00
commit 879f520b75
9 changed files with 74 additions and 14 deletions

View file

@ -97,7 +97,7 @@ export default {
.map((slot, index) => {
const props = slot.props
if (!props) return
const classesTab = ['tab', 'button-default']
const classesTab = ['tab']
const classesWrapper = ['tab-wrapper']
if (this.activeIndex === index) {
classesTab.push('active')