Files
EZPPLauncher/src/lib/components/ui/avatar/avatar-image.svelte
T

17 lines
351 B
Svelte

<script lang="ts">
import { cn } from '$lib/utils.js';
import { Avatar as AvatarPrimitive } from 'bits-ui';
let {
ref = $bindable(null),
class: className,
...restProps
}: AvatarPrimitive.ImageProps = $props();
</script>
<AvatarPrimitive.Image
bind:ref
class={cn('aspect-square h-full w-full', className)}
{...restProps}
/>