First commit
This commit is contained in:
commit
7cf3558ba7
12933 changed files with 1180047 additions and 0 deletions
24
app/Livewire/Web/Components/Demo/DemoSection.php
Normal file
24
app/Livewire/Web/Components/Demo/DemoSection.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class DemoSection extends Component
|
||||
{
|
||||
public $title;
|
||||
public $description;
|
||||
public $component;
|
||||
|
||||
public function mount($title, $description = null, $component = null)
|
||||
{
|
||||
$this->title = $title;
|
||||
$this->description = $description;
|
||||
$this->component = $component;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.demo-section');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue