<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<div class="admin__data-grid-export">
    <label for="<?= $block->escapeHtmlAttr($block->getId()) ?>_export" class="admin__control-support-text">
        <?= $block->escapeHtml(__('Export to:')) ?>
    </label>
    <select name="<?= $block->escapeHtmlAttr($block->getId()) ?>_export" id="<?= $block->escapeHtmlAttr($block->getId()) ?>_export" class="admin__control-select">
        <?php foreach ($block->getExportTypes() as $_type) : ?>
            <option value="<?= $block->escapeHtmlAttr($_type->getUrl()) ?>"><?= $block->escapeHtml($_type->getLabel()) ?></option>
        <?php endforeach; ?>
    </select>
    <?= $block->getExportButtonHtml() ?>
</div>
