feat: placeholder component in hoppscotch-ui (#3123)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Anwarul Islam
2023-06-21 00:39:16 +06:00
committed by GitHub
parent 331d482b22
commit fc3e3aeaec
43 changed files with 378 additions and 577 deletions

View File

@@ -111,13 +111,14 @@
/>
</div>
</div>
<div
<HoppSmartPlaceholder
v-if="newMembersList.length === 0"
class="flex flex-col items-center justify-center p-4 text-secondaryLight"
:src="`/images/states/dark/add_group.svg`"
alt="No invites"
text="No invites"
>
<span class="pb-4 text-center"> No invites </span>
<HoppButtonSecondary label="Add new" filled @click="addNewMember" />
</div>
</HoppSmartPlaceholder>
</div>
<div
v-if="newMembersList.length"