WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

21 lines
583 B
PHP

@if ($simpleIcons)
<div {{ $attributes->merge(['class' => $class]) }}>
{!! simple_icons($icon) !!}
</div>
@elseif ($custom)
<div {{ $attributes->merge(['class' => $class]) }}>
{!! file_get_contents($icon) !!}
</div>
@else
<span
@class([
'material-icons-outlined' => (! $filled && ! $rounded && ! $sharp),
$class,
'material-icons' => $filled,
'material-icons-round' => $rounded,
'material-icons-sharp'=> $sharp,
])
{{ $attributes }}
>{{ $icon }}</span>
@endif