mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
30 lines
714 B
Vue
30 lines
714 B
Vue
<script setup lang="ts">
|
|
const groups = [{
|
|
id: 'actions',
|
|
items: [{
|
|
label: 'Add new file',
|
|
suffix: 'Create a new file in the current directory or workspace.',
|
|
icon: 'i-lucide-file-plus'
|
|
}, {
|
|
label: 'Add new folder',
|
|
suffix: 'Create a new folder in the current directory or workspace.',
|
|
icon: 'i-lucide-folder-plus',
|
|
kbds: ['meta', 'F']
|
|
}, {
|
|
label: 'Add hashtag',
|
|
suffix: 'Add a hashtag to the current item.',
|
|
icon: 'i-lucide-hash',
|
|
kbds: ['meta', 'H']
|
|
}, {
|
|
label: 'Add label',
|
|
suffix: 'Add a label to the current item.',
|
|
icon: 'i-lucide-tag',
|
|
kbds: ['meta', 'L']
|
|
}]
|
|
}]
|
|
</script>
|
|
|
|
<template>
|
|
<UCommandPalette :groups="groups" />
|
|
</template>
|