1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 08:29:57 +00:00
elk/components/search/SearchEmojiInfo.vue

23 lines
450 B
Vue
Raw Normal View History

<script setup lang="ts">
export interface SearchEmoji {
title: string
src: string
}
defineProps<{
emoji: SearchEmoji
}>()
</script>
<template>
2023-01-16 10:21:38 +00:00
<div flex="~ gap3" items-center text-base>
<img
2023-01-16 10:21:38 +00:00
width="20"
height="20"
:src="emoji.src"
loading="lazy"
>
2023-01-16 10:21:38 +00:00
<span shrink overflow-hidden leading-none text-base><span text-secondary>:</span>{{ emoji.title }}<span text-secondary>:</span></span>
</div>
</template>