Added new blade alert components..
This commit is contained in:
18
app/View/Components/Alert/Success.php
Normal file
18
app/View/Components/Alert/Success.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Alert;
|
||||
|
||||
use App\View\Components\Alert as Component;
|
||||
|
||||
class Success extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.alert.success');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user