mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 08:18:42 +00:00
Update the nuxt3 version. Co-authored-by: Jonathan Adeline <jonathan@baserow.io> Co-authored-by: Bram Wiepjes <bramw@protonmail.com> Co-authored-by: Cezary <cezary@baserow.io> Co-authored-by: Tsering Paljor <tsering@baserow.io> Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io> Co-authored-by: Bram <bram2w@users.noreply.github.com>
42 lines
691 B
Vue
42 lines
691 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',
|
|
},
|
|
},
|
|
emits: ['click'],
|
|
}
|
|
</script>
|