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