mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Add new blocks for Supabase UI Library for Avatar and Avatar Stack for Vue & Nuxt ## Additional context Initiative from Terry :) --------- Co-authored-by: Terry Sutton <saltcod@gmail.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
16 lines
231 B
Vue
16 lines
231 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
src: string
|
|
alt?: string
|
|
class?: string
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<img
|
|
:src="src"
|
|
:alt="alt || ''"
|
|
:class="['aspect-square h-full w-full', $props.class]"
|
|
/>
|
|
</template>
|