Skip to content

Instantly share code, notes, and snippets.

@jongravois
Created June 5, 2020 20:02
Show Gist options
  • Save jongravois/9668986cd923ae837ca0d06e936dcc03 to your computer and use it in GitHub Desktop.
Save jongravois/9668986cd923ae837ca0d06e936dcc03 to your computer and use it in GitHub Desktop.
<?php
namespace App\Http\Livewire\Utilities;
use Livewire\Component;
class Uploader extends Component
{
public $destination;
public $label;
public $path;
public function mount($destination, $label, $path)
{
$this->destination = $destination;
$this->label = $label;
$this->path = $path;
} // end function
public function render()
{
return view('livewire.utilities.uploader');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment