<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
// @deprecated
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?>
<div data-mage-init='{"floatingHeader": {}}' class="page-actions">
    <button type="button" id="addNewTaxRule">
        <?= $block->escapeHtml(__('Add New Tax Rule')) ?>
    </button>
    <?= /* @noEscape */ $secureRenderer->renderEventListenerAsTag(
        'onclick',
        "window.location.href='" . $block->escapeJs($createUrl) . "'",
        'button#addNewClass'
    ) ?>
</div>
