Added icon blade

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-18 15:47:45 +01:00
parent a102c085df
commit d2e585baa7

View file

@ -0,0 +1,5 @@
@props([
'type' => '',
])
<i class="{{ Icon::icon($type) }} {{ $attributes->get('class') }}"
aria-hidden="true" {{ isset($style) ? 'style="'.$attributes->get('style').'"' : '' }}></i>