HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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' }}>