snipe-it/resources/views/blade/icon.blade.php
snipe d2e585baa7 Added icon blade
Signed-off-by: snipe <snipe@snipe.net>
2024-08-18 15:47:45 +01:00

5 lines
190 B
PHP

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