@props([ // How many rows are ticked. The bar only exists while this is > 0. 'count' => 0, // Livewire method that empties the selection. 'clear' => 'clearSelection', // Wording beside the counter, e.g. "selected" / "invoices selected". 'noun' => null, ]) {{-- Floating selection bar. Rows carry a tick box instead of a strip of icon buttons; ticking one or more raises this bar and the actions live here with real labels. It is `fixed`, so it escapes the table's `overflow-x-auto` wrapper (which clips absolutely-positioned menus on the last rows) and it clears the mobile bottom nav. --}} @if ((int) $count > 0)
{{ $count }} {{ $noun ?: __('selected') }} {{ $slot }}
@endif