*/ protected Collection $items; /** * @param iterable $items */ public function items(iterable $items): static { $this->items = Collection::wrap($items); return $this; } public function render(): View { return view( 'laralight-tables::toolbar.dropdown', [ 'attributes' => $this->getAttributes(), 'slot' => $this->slot, 'items' => $this->items, ] ); } }