icons update
This commit is contained in:
parent
79c03984bc
commit
a6ca923a76
4 changed files with 31 additions and 2 deletions
|
@ -94,8 +94,11 @@ export default Vue.component('tab-switcher', {
|
|||
<button
|
||||
disabled={slot.data.attrs.disabled}
|
||||
onClick={this.activateTab(index)}
|
||||
class={classesTab.join(' ')}>
|
||||
{slot.data.attrs.label}</button>
|
||||
class={classesTab.join(' ')}
|
||||
>
|
||||
{!slot.data.attrs.icon ? '' : (<i class={'tab-icon icon-' + slot.data.attrs.icon}/>)}
|
||||
{slot.data.attrs.label}
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue