0👍
Fixed the issue. I could have just declared the class inside the button layout initiation like this
<button-layout
btn-type="button"
class="btn btn-lg btn-primary" //declaring class in here instead of passing as props
:btn-text="arrSize.size"
:key="index"
v-on:getBtnClicked="testMe($event, index)"
:is-active="index === btnClicked"
>
</button-layout>
Source:stackexchange.com