This is the parent component I want to send bind :class to two child component
<TextInput
:icon="['fa', 'user']"
type="text"
placeholder="Name"
v-model.trim="userDetails.buyer_name.$model"
:class="{
'is-invalid': $v.buyer_name.$error,
'is-valid': !$v.buyer_name.$invalid
}"
>
it's the child component here i want the to accept class as props
<template>
<div class="product-form">
<fa-icon class="icons" :icon="icon" ></fa-icon>
<input :type="type" :placeholder="placeholder" />
</div>
</template>