<script setup lang="ts">
import InstallButton from './InstallButton.vue';
import LinkButton from './LinkButton.vue';
import ModTitlecard from './ModTitlecard.vue';
import { Package } from '../types';

defineProps({
    pkg: Object as () => Package,
});
</script>

<template>
    <ModTitlecard
        :pkg="pkg"
        show-namespace
        show-categories
        show-icon
        show-description
    />
    <InstallButton :pkg="pkg" />
    <LinkButton :pkg="pkg" />
</template>
