Files
amcs/ui/src/components/shared/BooleanStatusBadge.svelte
T
warkanum 196b543bee
CI / build-and-test (push) Successful in 1m47s
feat(ui): add identity management for tenants and users
* Implement tenant and user creation in IdentityPage
* Add API calls for managing tenants and users
* Introduce tenant-scoped API requests
* Update sidebar to include identity navigation
* Create BooleanStatusBadge component for key status
2026-07-20 22:50:55 +02:00

15 lines
309 B
Svelte

<script lang="ts">
type Props = {
value: boolean;
falseLabel: 'Disabled' | 'Inactive';
};
let { value, falseLabel }: Props = $props();
</script>
{#if !value}
<span class="inline-flex rounded-full bg-slate-700 px-2 py-0.5 text-xs font-medium text-slate-200">
{falseLabel}
</span>
{/if}