more ui components
This commit is contained in:
11
src/components/ui/UIDropdown.vue
Normal file
11
src/components/ui/UIDropdown.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="dropdown-end dropdown">
|
||||
<slot name="activator" tabindex="0"></slot>
|
||||
<ul
|
||||
tabindex="0"
|
||||
class="dropdown-content menu rounded-box menu-compact mt-1 w-52 bg-base-100 p-2 text-base-content shadow"
|
||||
>
|
||||
<slot name="items"></slot>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user