init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script lang="ts">
|
||||
import Name from '../profile/Name.svelte';
|
||||
|
||||
export let hasPreview: boolean = true;
|
||||
</script>
|
||||
|
||||
{#if hasPreview}
|
||||
<slot />
|
||||
{:else}
|
||||
<div class="w-full">
|
||||
<Name identifier={'Loading widget...'} secondaryIdentifier={'Loading...'} placeholder={true} />
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user