mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -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([
|
||||
'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