-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components) cria componentes de date, time e datetime
- Loading branch information
1 parent
0a89ca0
commit 8cd7795
Showing
6 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Agenciafmd\Ui\View\Components\Forms\Inputs; | ||
|
||
class Date extends Input | ||
{ | ||
public function __construct( | ||
public string $name = '', | ||
public string $label = '', | ||
public string $hint = '', | ||
public string $type = 'date', | ||
) { | ||
parent::__construct( | ||
$name, | ||
$label, | ||
$hint, | ||
$type, | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Agenciafmd\Ui\View\Components\Forms\Inputs; | ||
|
||
class Datetime extends Input | ||
{ | ||
public function __construct( | ||
public string $name = '', | ||
public string $label = '', | ||
public string $hint = '', | ||
public string $type = 'datetime-local', | ||
) { | ||
parent::__construct( | ||
$name, | ||
$label, | ||
$hint, | ||
$type, | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Agenciafmd\Ui\View\Components\Forms\Inputs; | ||
|
||
class Time extends Input | ||
{ | ||
public function __construct( | ||
public string $name = '', | ||
public string $label = '', | ||
public string $hint = '', | ||
public string $type = 'time', | ||
) { | ||
parent::__construct( | ||
$name, | ||
$label, | ||
$hint, | ||
$type, | ||
); | ||
} | ||
} |