mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-23 18:05:25 +03:00
22 lines
450 B
Vue
22 lines
450 B
Vue
<script setup lang="ts">
|
|
export interface SearchEmoji {
|
|
title: string
|
|
src: string
|
|
}
|
|
|
|
defineProps<{
|
|
emoji: SearchEmoji
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div flex="~ gap3" items-center text-base>
|
|
<img
|
|
width="20"
|
|
height="20"
|
|
:src="emoji.src"
|
|
loading="lazy"
|
|
>
|
|
<span shrink overflow-hidden leading-none text-base><span text-secondary>:</span>{{ emoji.title }}<span text-secondary>:</span></span>
|
|
</div>
|
|
</template>
|