Skip to content

Commit

Permalink
Merge pull request #279 from majdghithan/patch-1
Browse files Browse the repository at this point in the history
Update README.md to include correct uses in Livewire component
  • Loading branch information
jeffgreco13 authored Nov 9, 2023
2 parents 399998a + 510af01 commit b4ecdd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ php artisan make:livewire MyCustomComponent

```php
use Jeffgreco13\FilamentBreezy\Livewire\MyProfileComponent;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;

class MyCustomComponent extends MyProfileComponent
{
Expand All @@ -222,7 +224,7 @@ class MyCustomComponent extends MyProfileComponent
{
return $form
->schema([
Forms\Components\TextInput::make('name')
TextInput::make('name')
->required()
])
->statePath('data');
Expand Down

0 comments on commit b4ecdd3

Please sign in to comment.