File tree Expand file tree Collapse file tree 3 files changed +2
-74
lines changed
resources/views/components Expand file tree Collapse file tree 3 files changed +2
-74
lines changed Original file line number Diff line number Diff line change 77 ' icon' => null ,
88 ' iconVerticalAlignment' => ' center' ,
99 ' iconAnimation' => null ,
10- ' link' => null ,
11- ' linkBlank' => false ,
12- ' linkLabel' => null ,
1310 ' title' => null ,
1411] )
1512
5956 @endif
6057 </div >
6158 @endif
62- @if ($getLink () || $ getActions () )
59+ @if ($getActions () )
6360 <div @class ([
6461 ' flex items-center gap-3' ,
6562 $getActionsVerticalAlignment () === ' start' ? ' self-start' : ' self-center' ,
6663 ] )>
6764 <div class =" flex items-center whitespace-nowrap gap-3" >
68- @if ($getLink () )
69- <p class =" text-sm md:mt-0 self-center" >
70- <a href =" {{ $getLink () } }" {{ $getLinkBlank () ? ' target="_blank"' : ' ' } } class =" whitespace-nowrap font-medium text-custom-400 hover:text-custom-500" >
71- {{ $getLinkLabel () } }
72- <span aria-hidden =" true" > →</span >
73- </a >
74- </p >
75- @endif
7665 @if ($getActions () )
7766 <div class =" gap-3 flex items-center justify-start" >
7867 @foreach ($getActions () as $action )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99use CodeWithDennis \SimpleAlert \Components \Concerns \HasDescription ;
1010use CodeWithDennis \SimpleAlert \Components \Concerns \HasIcon ;
1111use CodeWithDennis \SimpleAlert \Components \Concerns \HasIconVerticalAlignment ;
12- use CodeWithDennis \SimpleAlert \Components \Concerns \HasLink ;
1312use CodeWithDennis \SimpleAlert \Components \Concerns \HasSimple ;
1413use CodeWithDennis \SimpleAlert \Components \Concerns \HasTitle ;
1514use Filament \Schemas \Components \Component ;
@@ -22,15 +21,14 @@ class SimpleAlert extends Component
2221 use HasDescription;
2322 use HasIcon;
2423 use HasIconVerticalAlignment;
25- use HasLink;
2624 use HasSimple;
2725 use HasTitle;
2826
2927 protected string $ view = 'filament-simple-alert::components.simple-alert ' ;
3028
3129 public static function make (): static
3230 {
33- return app (static ::class);
31+ return app (self ::class);
3432 }
3533
3634 public function actions (array |Closure $ actions ): static
You can’t perform that action at this time.
0 commit comments