You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
509 B
22 lines
509 B
<template>
|
|
<button class="WM-Btn WM-InlineBlock WM-Margin-L-10" :class="BtnClass" type="button">
|
|
<span><i class="NoMargin" :class="IconClass" aria-hidden="true"></i> {{ Text }} </span>
|
|
</button>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
BtnClass: { default: "WM-Btn-Black" },
|
|
Icon: { default: "ok" },
|
|
Text: { default: "" },
|
|
},
|
|
data: function () {
|
|
return {
|
|
IconClass: 'WMi-' + this.Icon,
|
|
}
|
|
},
|
|
};
|
|
|
|
</script>
|