Files
WMS/storage/framework/views/blaze/a4dcf5f20d4e03305f496626b14eb345.php
T
2026-06-11 11:24:12 +01:00

36 lines
1.3 KiB
PHP
Executable File

<?php
if (!function_exists('__a4dcf5f20d4e03305f496626b14eb345')):
function __a4dcf5f20d4e03305f496626b14eb345($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
$__env = $__blaze->env;
$__slots['slot'] ??= new \Illuminate\View\ComponentSlot('');
if (($__data['attributes'] ?? null) instanceof \Illuminate\View\ComponentAttributeBag) { $__data = $__data + $__data['attributes']->all(); unset($__data['attributes']); }
extract($__slots, EXTR_SKIP); unset($__slots);
extract($__data, EXTR_SKIP);
$attributes = \Livewire\Blaze\Runtime\BlazeAttributeBag::make($__data, $__bound, $__keys);
unset($__data, $__bound, $__keys);
ob_start();
?>
<?php
$__defaults = [
'as' => null,
];
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
unset($__defaults);
?>
<?php if ($as === 'button'): ?>
<button <?php echo e($attributes->merge(['type' => 'button'])); ?>>
<?php echo e($slot); ?>
</button>
<?php else: ?>
<div <?php echo e($attributes); ?>>
<?php echo e($slot); ?>
</div>
<?php endif; ?>
<?php
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-div.blade.php ENDPATH**/ ?>