mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Merge pull request #15350 from marcusmoore/icon-component-updates
Fixed icon not rotated and simplified component
This commit is contained in:
commit
22d3734075
|
@ -2,9 +2,5 @@
|
||||||
|
|
||||||
@props([
|
@props([
|
||||||
'type' => '',
|
'type' => '',
|
||||||
'class' => false,
|
|
||||||
'style' => false,
|
|
||||||
'id' => false,
|
|
||||||
'title' => false,
|
|
||||||
])
|
])
|
||||||
<i {{ $attributes->merge(['class' => Icon::icon($type).' '.$class]) }} {{ isset($style) ? $attributes->merge(['style' => $style]): '' }} {{ isset($title) ? $attributes->merge(['title' => $title]): '' }} aria-hidden="true"></i>
|
<i {{ $attributes->merge(['class' => Icon::icon($type)]) }} aria-hidden="true"></i>
|
Loading…
Reference in a new issue