PHP Classes

File: resources/js/Components/ConfirmationModal.vue

Recommend this page to a friend!
  Classes of Robert Devenyi   Iceburg SAAS PHP CRM Open Source   resources/js/Components/ConfirmationModal.vue   Download  
File: resources/js/Components/ConfirmationModal.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Iceburg SAAS PHP CRM Open Source
Application to manage the contacts of customers
Author: By
Last change:
Date: 1 year ago
Size: 1,912 bytes
 

Contents

Class file image Download
<script setup> import Modal from './Modal.vue'; const emit = defineEmits(['close']); defineProps({ show: { type: Boolean, default: false, }, maxWidth: { type: String, default: '2xl', }, closeable: { type: Boolean, default: true, }, }); const close = () => { emit('close'); }; </script> <template> <Modal :show="show" :max-width="maxWidth" :closeable="closeable" @close="close" > <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"> <div class="sm:flex sm:items-start"> <div class="mx-auto shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"> <svg class="h-6 w-6 text-red-600" stroke="currentColor" fill="none" viewBox="0 0 24 24" > <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" /> </svg> </div> <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"> <h3 class="text-lg"> <slot name="title" /> </h3> <div class="mt-2"> <slot name="content" /> </div> </div> </div> </div> <div class="flex flex-row justify-end px-6 py-4 bg-gray-100 text-right"> <slot name="footer" /> </div> </Modal> </template>