mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-16 16:37:47 +00:00
chore: pint
This commit is contained in:
parent
a15645ad88
commit
d19a079b8a
30 changed files with 295 additions and 188 deletions
|
|
@ -1,17 +1,23 @@
|
|||
<?php
|
||||
|
||||
use Livewire\Component;
|
||||
use Livewire\Attributes\Modelable;
|
||||
use Livewire\Component;
|
||||
|
||||
new class extends Component
|
||||
{
|
||||
#[Modelable]
|
||||
public $model = '';
|
||||
|
||||
public $language = 'html';
|
||||
|
||||
public $theme = 'auto';
|
||||
|
||||
public $readonly = false;
|
||||
|
||||
public $placeholder = '';
|
||||
|
||||
public $height = '200px';
|
||||
|
||||
public $id = '';
|
||||
|
||||
public function mount($language = 'html', $theme = 'auto', $readonly = false, $placeholder = '', $height = '200px', $id = '')
|
||||
|
|
@ -24,7 +30,6 @@ new class extends Component
|
|||
$this->id = $id;
|
||||
}
|
||||
|
||||
|
||||
public function toJSON()
|
||||
{
|
||||
return json_encode([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue