<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
'modal' => '',
'text' => '',
'class'=>''
]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
'modal' => '',
'text' => '',
'class'=>''
]); ?>
<?php foreach (array_filter(([
'modal' => '',
'text' => '',
'class'=>''
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<button  <?php echo e($attributes); ?> class="btn btn-primary <?php echo e($class); ?>" data-bs-toggle="modal" data-bs-target="#<?php echo e($modal); ?>">
    <?php echo $text; ?>

</button><?php /**PATH D:\Laravel\library\resources\views/components/buttons/modal.blade.php ENDPATH**/ ?>