chore: updated types
This commit is contained in:
@@ -33,7 +33,12 @@ import { useI18n } from "~/helpers/utils/composables"
|
||||
const t = useI18n()
|
||||
|
||||
defineProps<{
|
||||
shortcut: Object
|
||||
shortcut: {
|
||||
label: string
|
||||
keys: string[]
|
||||
action: string
|
||||
icon: string
|
||||
}
|
||||
active: Boolean
|
||||
}>()
|
||||
</script>
|
||||
|
||||
@@ -19,6 +19,9 @@ import { useI18n } from "~/helpers/utils/composables"
|
||||
const t = useI18n()
|
||||
|
||||
defineProps<{
|
||||
shortcut: Object
|
||||
shortcut: {
|
||||
label: string
|
||||
keys: string[]
|
||||
}
|
||||
}>()
|
||||
</script>
|
||||
|
||||
@@ -8,9 +8,6 @@
|
||||
class="nav-link"
|
||||
tabindex="0"
|
||||
>
|
||||
<i v-if="navigation.icon" class="material-icons">
|
||||
{{ navigation.icon }}
|
||||
</i>
|
||||
<div v-if="navigation.svg">
|
||||
<SmartIcon :name="navigation.svg" class="svg-icons" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user