pianello-api/resources/views/components/base/image-zoom/index.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

13 lines
274 B
PHP

@props(['src' => null])
<img
data-action="zoom"
src="{{ $src }}"
{{ $attributes->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
/>
@once
@push('vendors')
@vite('resources/js/vendor/image-zoom/index.js')
@endpush
@endonce