mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 18:49:44 +09:00
@@ -1,15 +1,15 @@
|
||||
<script>
|
||||
export let text = '';
|
||||
export let text = '';
|
||||
</script>
|
||||
|
||||
<button
|
||||
on:click
|
||||
class="bg-slate-100 hover:bg-gray-200 text-immich-fg dark:text-immich-dark-bg p-4 w-full text-left text-sm font-medium focus:outline-none focus:ring-inset focus:ring-2"
|
||||
role="menuitem"
|
||||
on:click
|
||||
class="bg-slate-100 hover:bg-gray-200 text-immich-fg dark:text-immich-dark-bg p-4 w-full text-left text-sm font-medium focus:outline-none focus:ring-inset focus:ring-2"
|
||||
role="menuitem"
|
||||
>
|
||||
{#if text}
|
||||
{text}
|
||||
{:else}
|
||||
<slot />
|
||||
{/if}
|
||||
{#if text}
|
||||
{text}
|
||||
{:else}
|
||||
<slot />
|
||||
{/if}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user