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