commit
de622bd0a4
|
@ -1,8 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<button :class="buttonClass" v-on="$listeners" type="button" v-ripple>
|
<button :class="buttonClass" v-on="$listeners" type="button" v-ripple>
|
||||||
|
<slot>
|
||||||
<span v-if="icon" :class="iconClass"></span>
|
<span v-if="icon" :class="iconClass"></span>
|
||||||
<span class="p-button-label">{{label||' '}}</span>
|
<span class="p-button-label">{{label||' '}}</span>
|
||||||
<span class="p-badge" v-if="badge" :class="badgeClass">{{badge}}</span>
|
<span class="p-badge" v-if="badge" :class="badgeClass">{{badge}}</span>
|
||||||
|
</slot>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue