mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 00:00:28 +09:00
23 lines
560 B
Svelte
23 lines
560 B
Svelte
<script lang="ts">
|
|
import { ActionModal } from "#lib/ui/index.ts";
|
|
|
|
interface Props {
|
|
isOpen: boolean;
|
|
oncancel?: () => void;
|
|
onLoginClick: () => void;
|
|
}
|
|
|
|
let { isOpen = $bindable(), oncancel, onLoginClick }: Props = $props();
|
|
</script>
|
|
|
|
<ActionModal
|
|
bind:isOpen
|
|
title="다른 디바이스에 이미 로그인되어 있어요."
|
|
cancelText="아니요"
|
|
{oncancel}
|
|
confirmText="네"
|
|
onConfirmClick={onLoginClick}
|
|
>
|
|
<p>다른 디바이스에서는 로그아웃하고, 이 디바이스에서 로그인할까요?</p>
|
|
</ActionModal>
|