mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 14:56:31 +00:00
75c633dcb5
* dummy commit * cleanup workflows * setup and run eslint * add linter to CI * use eslint for formatting * reorder rules * drop editor config
15 lines
411 B
Vue
15 lines
411 B
Vue
<template>
|
|
<BaseModal v-model="isRevealed" readonly @cancel="cancel(false)">
|
|
<template #title> Confirm </template>
|
|
<div>
|
|
<p>{{ text }}</p>
|
|
</div>
|
|
<div class="modal-action">
|
|
<BaseButton type="submit" @click="confirm(true)"> Confirm </BaseButton>
|
|
</div>
|
|
</BaseModal>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { text, isRevealed, confirm, cancel } = useConfirm();
|
|
</script>
|