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