Primer commit
This commit is contained in:
16
resources/js/Components/DropdownLink.vue
Normal file
16
resources/js/Components/DropdownLink.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
import { Link } from '@inertiajs/vue3';
|
||||
|
||||
defineProps({
|
||||
href: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Link :href="href" class="dropdown-item">
|
||||
<slot />
|
||||
</Link>
|
||||
</template>
|
||||
Reference in New Issue
Block a user