refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -25,19 +25,21 @@ use Illuminate\View\Component;
|
||||
|
||||
class Alert extends Component
|
||||
{
|
||||
public
|
||||
$alertType,
|
||||
$extraStyling,
|
||||
$title,
|
||||
$icon;
|
||||
public $alertType;
|
||||
|
||||
public $extraStyling;
|
||||
|
||||
public $title;
|
||||
|
||||
public $icon;
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*
|
||||
* @param string $alertType The color the alert should have.
|
||||
* @param string $title The alert's title
|
||||
* @param string $icon The alert's icon, placed before the title
|
||||
* @param string $extraStyling Any extra CSS classes to add
|
||||
* @param string $alertType The color the alert should have.
|
||||
* @param string $title The alert's title
|
||||
* @param string $icon The alert's icon, placed before the title
|
||||
* @param string $extraStyling Any extra CSS classes to add
|
||||
*/
|
||||
public function __construct(string $alertType, string $title = '', string $icon = '', string $extraStyling = '')
|
||||
{
|
||||
|
Reference in New Issue
Block a user