pianello-api/resources/views/components/report-bar-chart-1/index.blade.php
Ale Gallo e5439ac63f Committing laravel (part 4)
committing blade templating files and components that might come in handy
2023-11-10 16:39:54 +01:00

15 lines
393 B
PHP

@props(['width' => 'w-auto', 'height' => 'h-auto'])
<div class="{{ $width }} {{ $height }}">
<x-base.chart
class="report-bar-chart-1"
{{ $attributes->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
>
</x-base.chart>
</div>
@once
@push('scripts')
@vite('resources/js/components/report-bar-chart-1/index.js')
@endpush
@endonce