<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['href' => '','text' => __('Add New'),'variant'=> 'primary']) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['href' => '','text' => __('Add New'),'variant'=> 'primary']); ?>
<?php foreach (array_filter((['href' => '','text' => __('Add New'),'variant'=> 'primary']), '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); ?>
<a href="<?php echo e($href); ?>" <?php echo e($attributes->merge(['class' => 'btn btn-'.$variant])); ?>><i class="fa fa-plus"></i> <?php echo e($text); ?></a><?php /**PATH D:\laragon\www\docment_latest\main_files\resources\views/components/admin/add-button.blade.php ENDPATH**/ ?>