Move class from component to markup.
This commit is contained in:
parent
0c9331d553
commit
3ad5b0075f
2 changed files with 2 additions and 1 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
<div class="col my-3 d-flex align-items-center">
|
<div class="col my-3 d-flex align-items-center">
|
||||||
<buttonPrimary
|
<buttonPrimary
|
||||||
buttonText="Primary"
|
buttonText="Primary"
|
||||||
|
class="btn-primary"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<button
|
<button
|
||||||
class="btn btn-primary d-flex align-items-center"
|
class="btn d-flex align-items-center"
|
||||||
v-on:click="showLoader()"
|
v-on:click="showLoader()"
|
||||||
v-bind:class="[this.isLoading ? 'button-loader' : 'not-loading', this.buttonType,]"
|
v-bind:class="[this.isLoading ? 'button-loader' : 'not-loading', this.buttonType,]"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue