keanu-weblite/src/components/ActionRow.vue

43 lines
707 B
Vue
Raw Normal View History

<template>
<v-row
class="action-row ma-0 pa-0"
no-gutters
align-content="center"
v-on="$listeners"
>
<v-col cols="auto" class="me-2">
2023-03-03 14:43:53 +00:00
<v-icon :size="iconSize">{{ icon }}</v-icon>
</v-col>
<v-col>{{ text }}</v-col>
</v-row>
</template>
<script>
export default {
name: "ActionRow",
props: {
icon: {
type: String,
default: function () {
return null;
},
},
2023-03-03 14:43:53 +00:00
iconSize: {
type: Number,
default: function() {
return 22;
}
},
text: {
type: String,
default: function () {
return "";
},
},
},
};
</script>
<style lang="scss">
@import "@/assets/css/chat.scss";
2022-05-16 14:11:55 +00:00
</style>