28 lines
No EOL
640 B
Vue
28 lines
No EOL
640 B
Vue
<template>
|
|
<form class="list-view d-flex">
|
|
<div class="car_list">
|
|
<div v-for="attritbute in attritbutes" :key="attritbute" class="mb-2">
|
|
<Button
|
|
:buttonText="attritbute"
|
|
v-on:click="selectAttribute(attritbute)"
|
|
buttonType="btn-funnel"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</template>
|
|
|
|
<script>
|
|
import Button from '@/sharedcomponents/Buttons/Button';
|
|
|
|
export default {
|
|
name: 'CarAttributes',
|
|
props: {
|
|
attritbutes: Array,
|
|
selectAttribute: Function
|
|
},
|
|
components: {
|
|
Button
|
|
}
|
|
}
|
|
</script> |