2026-06-22 20:36:57 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import RoleBadge from "@app/components/RoleBadge.svelte"
|
|
|
|
|
import type {SpaceRole} from "@app/members"
|
|
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
|
role: SpaceRole
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const {role}: Props = $props()
|
|
|
|
|
</script>
|
|
|
|
|
|
2026-07-01 17:23:23 +00:00
|
|
|
<div class="flex min-w-0 flex-col gap-2 justify-between">
|
2026-06-22 20:36:57 +00:00
|
|
|
<RoleBadge {role} />
|
|
|
|
|
{#if role.description}
|
|
|
|
|
<p class="text-sm opacity-70">{role.description}</p>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|