BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
magicai
/
magicai-updater
/
src
/
View
/
Components
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Button.php
<?php namespace MagicAI\Updater\View\Components; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Button extends Component { public function __construct( public bool $permission, public string $text, public ?string $id = null, ) {} public function render(): View { return view('magicai-updater::components.button', [ 'permission' => $this->permission, 'text' => $this->text, 'id' => $this->id, ]); } }
Save
Cancel