Confirm Modal

<sw-confirm-modal>

ready

Usage

Loading...
<sw-confirm-modal
    v-if="codeDeleteModal === item.id"
    class="sw-my-component__confirm-delete-modal"
    type="delete"
    :text="Are you sure you want to delete this?"

Component properties

Property name Type Default
title String
text String
variant String
type String

Imports

  • ./sw-confirm-modal.html.twig

Twig blocks

  • sw_confirm_modal_text
  • sw_confirm_modal_footer_cancel
  • sw_confirm_modal_footer_confirm
  • sw_confirm_modal_footer
  • sw_confirm_modal