<template>
    <view class="w-92 flex flex-col items-center gap-8" @click="$emit('click')">
        <ie-image is-oss :src="icon" custom-class="w-92"/>
        <text class="keep-all whitespace-nowrap text-xs text-fore-title">{{ title }}</text>
    </view>
</template>

<script setup lang="ts" name="VolunteerMenuItem">
defineProps({
    title: String,
    icon: String
})
defineEmits(['click'])
</script>

<style scoped>

</style>