Edit File: table.php
<?php namespace App\View\Components\Admin; use Illuminate\View\Component; class table extends Component { public $addbutton ; public $deletebutton ; public $extrabuttons ; public $filter ; /** * Create a new component instance. * * @return void */ public function __construct($addbutton = null , $extrabuttons = null , $deletebutton = null , $filter = null) { $this->addbutton = $addbutton ; $this->extrabuttons = $extrabuttons ; $this->deletebutton = $deletebutton ; $this->filter = $filter ; } /** * Get the view / contents that represent the component. * * @return \Illuminate\View\View|string */ public function render() { return view('components.admin.table'); } }
Back to File Manager