Download app/View/Components/Navbar/Dropdown/Item.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/View/Components/Navbar/Dropdown/Item.php
- Command line
-
hf download hf://pnacorp/magicai/app/View/Components/Navbar/Dropdown/Item.php
-
curl -L -o Item.php https://huggingface.co/pnacorp/magicai/resolve/main/app/View/Components/Navbar/Dropdown/Item.php
537 Bytes
| namespace App\View\Components\Navbar\Dropdown; | |
| use Closure; | |
| use Illuminate\Contracts\View\View; | |
| use Illuminate\View\Component; | |
| class Item extends Component | |
| { | |
| /** | |
| * Create a new component instance. | |
| */ | |
| public function __construct( | |
| public bool $hasDropdown = false, | |
| public string $id = '', | |
| ) {} | |
| /** | |
| * Get the view / contents that represent the component. | |
| */ | |
| public function render(): View|Closure|string | |
| { | |
| return view('components.navbar.dropdown.item'); | |
| } | |
| } | |