Update various configuration files, components, and assets; enhance notification system and API endpoints; improve documentation and styles across the application.
This commit is contained in:
21
components/RsDropdownItem.vue
Normal file
21
components/RsDropdownItem.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<script setup>
|
||||
const emits = defineEmits(["click"]);
|
||||
|
||||
const props = defineProps({
|
||||
divider: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
|
||||
const clickEvent = () => {
|
||||
emits("click");
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<hr v-if="divider" />
|
||||
<div @click="clickEvent" class="dropdown-item">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user