Newer
Older
smart-home-server / webclient-vue / src / components / layout / PageActionsDropdown.vue
@Eugene Sukhodolskiy Eugene Sukhodolskiy 14 hours ago 293 bytes Pack detail-page header actions into GnDropdown component
<template>
  <GnDropdown
    label="Actions"
    icon="ph-dots-three-outline"
    variant="secondary"
    :items="items"
    v-bind="$attrs"
  />
</template>

<script setup>
import { GnDropdown } from "gnexus-ui-kit/vue";

defineProps({
  items: { type: Array, required: true },
});
</script>