@props([ 'id', 'items' => [], 'value' => null, 'label' => null, 'target' => null, 'scrollTarget' => null, 'icon' => 'dashboard', 'maxHeight' => 410, ]) @php $label = $label ?: __('kview-ui-core::ui.common.view'); $selectAttributes = array_filter([ 'data-ui-tab-select' => $target, 'data-ui-tab-scroll' => $scrollTarget, ], static fn ($value) => ! is_null($value) && $value !== ''); @endphp
class('ui-view-switcher') }}>