pianello-api/resources/views/components/base/image-zoom/index.blade.php

14 lines
274 B
PHP
Raw Permalink Normal View History

@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