<style>
    .qrcode .mx-auto{
        text-align: center;
    }
    .qrcode .mx-auto svg{
        margin: auto;
    }
    .qrcode a{
        margin-top: 20px;
    }
</style>
<div class="flex flex-col items-center justify-center w-full qrcode">
    
    <div class="mx-auto w-max">
        <?php echo $qrCodeSvg; ?>

        <?php if (isset($component)) { $__componentOriginal6330f08526bbb3ce2a0da37da512a11f = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal6330f08526bbb3ce2a0da37da512a11f = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.button.index','data' => ['href' => 'data:image/svg+xml;base64,' . base64_encode($qrCodeSvg),'tag' => 'a','download' => 'QR_'.e($serial).'.svg','color' => 'primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('filament::button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('data:image/svg+xml;base64,' . base64_encode($qrCodeSvg)),'tag' => 'a','download' => 'QR_'.e($serial).'.svg','color' => 'primary']); ?>
            Download QR
         <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal6330f08526bbb3ce2a0da37da512a11f)): ?>
<?php $attributes = $__attributesOriginal6330f08526bbb3ce2a0da37da512a11f; ?>
<?php unset($__attributesOriginal6330f08526bbb3ce2a0da37da512a11f); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6330f08526bbb3ce2a0da37da512a11f)): ?>
<?php $component = $__componentOriginal6330f08526bbb3ce2a0da37da512a11f; ?>
<?php unset($__componentOriginal6330f08526bbb3ce2a0da37da512a11f); ?>
<?php endif; ?>
    </div>
</div>
<?php /**PATH C:\laragon\www\review\resources\views/filament/actions/qr-code-modal.blade.php ENDPATH**/ ?>