@@ -158,7 +158,7 @@ class User extends Authenticatable implements FilamentUser, HasAvatar
158158
159159
160160``` php
161- use Filament\Forms \Components\FileUpload;
161+ use Filament\Schemas \Components\FileUpload;
162162
163163WirementBreezeCore::make()
164164 ->avatarUploadComponent(fn($fileUpload) => $fileUpload->disableLabel())
@@ -256,8 +256,8 @@ php artisan make:livewire MyCustomComponent
256256
257257``` php
258258use Kwhorne\WirementBreeze\Livewire\MyProfileComponent;
259- use Filament\Forms \Components\TextInput;
260- use Filament\Forms\Form ;
259+ use Filament\Schemas \Components\TextInput;
260+ use Filament\Schemas\Schema ;
261261
262262class MyCustomComponent extends MyProfileComponent
263263{
@@ -350,7 +350,7 @@ If you want to customize only the fields and notification in the personal info c
350350``` php
351351namespace App\Livewire;
352352
353- use Filament\Forms;
353+ use Filament\Forms\Components ;
354354use Filament\Notifications\Notification;
355355use Kwhorne\WirementBreeze\Livewire\PersonalInfo;
356356
@@ -368,15 +368,15 @@ class CustomPersonalInfo extends PersonalInfo
368368 ];
369369 }
370370
371- protected function getNameComponent(): Forms\ Components\TextInput
371+ protected function getNameComponent(): Components\TextInput
372372 {
373- return Forms\ Components\TextInput::make('custom_name_field')
373+ return Components\TextInput::make('custom_name_field')
374374 ->required();
375375 }
376376
377- protected function getEmailComponent(): Forms\ Components\TextInput
377+ protected function getEmailComponent(): Components\TextInput
378378 {
379- return Forms\ Components\TextInput::make('custom_email_field')
379+ return Components\TextInput::make('custom_email_field')
380380 ->required();
381381 }
382382
0 commit comments