Skip to content

Commit

Permalink
Merge pull request #15350 from marcusmoore/icon-component-updates
Browse files Browse the repository at this point in the history
Fixed icon not rotated and simplified component
  • Loading branch information
snipe authored Aug 20, 2024
2 parents d99b306 + eca6b03 commit 22d3734
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resources/views/blade/icon.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 22d3734

Please sign in to comment.