您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App\View\Components;
  3. use Closure;
  4. use Illuminate\View\Component;
  5. use Illuminate\Contracts\View\View;
  6. class Table extends Component
  7. {
  8. /**
  9. * Create a new component instance.
  10. */
  11. public function __construct()
  12. {
  13. //
  14. }
  15. /**
  16. * Get the view / contents that represent the component.
  17. */
  18. public function render(): View|Closure|string
  19. {
  20. return view('components.table');
  21. }
  22. }