id = $id; $this->ajax = $ajax; $this->columns = $columns; } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return view('components.data-table'); } }