<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/** @var Magento\Wishlist\Block\Catalog\Product\ProductList\Item\AddTo\Wishlist $block */
?>
<?php if ($block->getWishlistHelper()->isAllow()) : ?>
    <li>
        <button class="action towishlist"
                title="<?= $block->escapeHtml(__('Add to Wish List')); ?>"
                data-title="<?= $block->escapeHtmlAttr(__('Add to Wish List')); ?>"
                aria-label="<?= $block->escapeHtmlAttr(__('Add to Wish List')); ?>"
                data-post='<?= /* @noEscape */ $block->getAddToWishlistParams($block->getProduct()) ?>'
                data-action="add-to-wishlist"
                role="button">
            <i class="pe-7s-like"></i>
        </button>
    </li>
<?php endif; ?>
