1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/core/components/CallToAction.vue
2024-01-25 17:35:31 +00:00

41 lines
671 B
Vue

<template>
<div class="call-to-action" @click="$emit('click')">
<slot></slot>
<Avatar
v-if="icon"
:icon="icon"
:color="iconColor"
:rounded="iconRounded"
:size="iconSize"
/>
</div>
</template>
<script>
export default {
name: 'CallToAction',
props: {
icon: {
type: String,
required: false,
default: '',
},
iconColor: {
type: String,
required: false,
default: 'blue',
},
iconRounded: {
type: Boolean,
required: false,
default: false,
},
iconSize: {
type: String,
required: false,
default: 'medium',
},
},
}
</script>