<script setup lang="ts">
import { Eye } from '@lucide/vue';
import { Button } from '@/components/ui/button';
import type { ActivityLogListItem } from '@/types/activity-log';

defineProps<{
    activityLog: ActivityLogListItem;
}>();

const emit = defineEmits<{
    view: [];
}>();
</script>

<template>
    <Button variant="ghost" size="icon-sm" @click="emit('view')">
        <Eye class="size-4" />
        <span class="sr-only">Lihat detail</span>
    </Button>
</template>
