From b08cbb6005063beb1c833d23a3f8ac4135a127af Mon Sep 17 00:00:00 2001 From: Irineu Junior Date: Mon, 22 Apr 2024 21:31:19 -0300 Subject: [PATCH] feat(email) cria o input email --- src/Providers/BladeServiceProvider.php | 1 + src/View/Components/Forms/Inputs/Email.php | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/View/Components/Forms/Inputs/Email.php diff --git a/src/Providers/BladeServiceProvider.php b/src/Providers/BladeServiceProvider.php index 605934d..9e3bc4c 100644 --- a/src/Providers/BladeServiceProvider.php +++ b/src/Providers/BladeServiceProvider.php @@ -87,6 +87,7 @@ public function bootComponents(): void Blade::component($prefix . 'form.checkbox', Components\Forms\Inputs\Checkbox::class); Blade::component($prefix . 'form.date', Components\Forms\Inputs\Date::class); Blade::component($prefix . 'form.datetime', Components\Forms\Inputs\Datetime::class); + Blade::component($prefix . 'form.email', Components\Forms\Inputs\Email::class); Blade::component($prefix . 'form.input', Components\Forms\Inputs\Input::class); Blade::component($prefix . 'form.image-library', Components\Forms\Inputs\ImageLibrary::class); Blade::component($prefix . 'form.password', Components\Forms\Inputs\Password::class); diff --git a/src/View/Components/Forms/Inputs/Email.php b/src/View/Components/Forms/Inputs/Email.php new file mode 100644 index 0000000..b9ade9b --- /dev/null +++ b/src/View/Components/Forms/Inputs/Email.php @@ -0,0 +1,20 @@ +