pianello-api/resources/views/components/report-line-chart/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
388 B
PHP

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