refactor: /permisos

This commit is contained in:
fede committed 2026-05-11 22:43:45 -03:00
1 parent b67008c23e
commit a35539590a
2 files changed
+43 -28

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
<script lang="ts">
import { ToastNotification } from 'carbon-components-svelte';
let {
kind = 'success',
title = '',
subtitle = '',
open = false
}: {
kind?: 'success' | 'error' | 'warning' | 'info' | 'info-square' | 'warning-alt';
title?: string;
subtitle?: string;
open?: boolean;
} = $props();
</script>
{#if open}
<div class="wrapper">
<ToastNotification {kind} {title} {subtitle} hideCloseButton open />
</div>
{/if}
<style>
.wrapper {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 10000;
}
</style>