mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
22 lines
400 B
Svelte
22 lines
400 B
Svelte
<script lang="ts">
|
|
import Icon from "@app/components/Icon.svelte";
|
|
|
|
export let commentCount: number;
|
|
</script>
|
|
|
|
<style>
|
|
.comments {
|
|
color: var(--color-foreground-dim);
|
|
font-size: var(--font-size-tiny);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
white-space: nowrap;
|
|
}
|
|
</style>
|
|
|
|
<div class="comments">
|
|
<Icon name="chat" />
|
|
<span>{commentCount}</span>
|
|
</div>
|