File: D:/HostingSpaces/SBogers10/shop.komma.nl/resources/views/components/button.blade.php
<{{ $buttonTagName ?? 'a' }}
class="c-button @modifiers('c-button') {{ $buttonClasses ?? '' }}"
@if(isset($buttonLink))
href="{{ $buttonLink }}"
@endif
@if(isset($buttonTargetBlank))
target="_blank" rel="noopener noreferrer"
@endif
@if(isset($testKey))
data-test="{{ $testKey }}"
@endif
@if(isset($dataAttributes))
@foreach($dataAttributes as $dataAttribute => $value)
{{ $dataAttribute }}={{ $value }}
@endforeach
@endif
@if(!empty($iconPos)) data-icon-pos="{{$iconPos}}" @endif
@if(!empty($buttonIsFake)) data-button-is-fake="{{$buttonIsFake}}" @endif
>
<span class="c-button__text">{{ $buttonText ?? '🙈' }}</span>
@if(!empty($icon))
<i class="c-button__icon @if(!empty($iconColor)) u-color-{{$iconColor}} @endif">
@includeIf('site.components.icons.'.$icon)
</i>
@endif
</{{ $buttonTagName ?? 'a' }}>