#150 - empty states #160

Merged
kamilniemczycki merged 7 commits from #150-empty-states into main 2022-06-02 10:37:42 +02:00
Showing only changes of commit e796e963f3 - Show all commits

View File

@@ -0,0 +1,21 @@
<template>
<div class="text-center my-5">
<slot name="head">
<SearchIcon class="mx-auto w-12 h-12" />
</slot>
<h3 class="mt-2 text-sm font-medium">
<slot name="title">
No search result
</slot>
</h3>
<p class="text-sm text-gray-500">
<slot name="text">
Try a different search query
</slot>
</p>
</div>
</template>
<script setup>
import { SearchIcon } from '@heroicons/vue/solid'
</script>