reuse form

This commit is contained in:
antv
2026-07-01 16:57:34 +07:00
parent 4e4d03d62a
commit f1858f8f0f
34 changed files with 1273 additions and 681 deletions
@@ -0,0 +1,7 @@
@props(['name', 'class' => ''])
@php
$svgPath = public_path('assets/icons/' . $name . '.svg');
@endphp
<span {{ $attributes->merge(['class' => $class]) }} role="img" aria-hidden="true">
{!! file_get_contents($svgPath) !!}
</span>