32 lines
704 B
Vue
32 lines
704 B
Vue
<template>
|
|||
|
|
<div
|
||
|
|
class="text-center w-full flex-flex-col items-center home_appear_fade_in_up"
|
||
|
|
style="text-align: -webkit-center"
|
||
|
|
@click="$emit('click')"
|
||
|
|
>
|
||
|
|
<div
|
||
|
|
class="rounded-full w-[50px] h-[50px] bg-primary flex items-center justify-center"
|
||
|
|
style="border: solid 1px #0A1B37"
|
||
|
|
>
|
||
|
|
<Icon class="text-tertiary" :icon="action.icon" />
|
||
|
|
</div>
|
||
|
|
<div class="text-primary">{{ action.label }}</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import Icon from '@/components/BasicPacks/BasicIcon.vue'
|
||
|
|
|
||
|
|
defineProps<{
|
||
|
|
action: {
|
||
|
|
name: string
|
||
|
|
icon: string
|
||
|
|
label: string
|
||
|
|
handler: () => void
|
||
|
|
}
|
||
|
|
}>()
|
||
|
|
|
||
|
|
defineEmits<{
|
||
|
|
click: []
|
||
|
|
}>()
|
||
|
|
</script>
|