1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-11 17:03:58 +00:00
Files
pocket-id/frontend/src/lib/components/image-box.svelte

11 lines
328 B
Svelte

<script lang="ts">
import { cn } from '$lib/utils/style';
import type { HTMLImgAttributes } from 'svelte/elements';
let props: HTMLImgAttributes & {} = $props();
</script>
<div class={'bg-muted flex items-center justify-center rounded-2xl p-3'}>
<img class={cn('size-24 object-contain', props.class)} {...props} />
</div>