5 lines
194 B
PHP
Raw Normal View History

<button type="{{ $type }}" {{ $attributes->merge(['class' => "btn btn-{$theme}"]) }}>
@isset($icon) <i class="{{ $icon }}"></i> @endisset
@isset($label) {{ $label }} @endisset
</button>