Skip to content

Commit

Permalink
Allow empty string type (#75)
Browse files Browse the repository at this point in the history
If type is empty string then swal doesn't show any icon
  • Loading branch information
gpibarra authored Mar 1, 2022
1 parent 6855a22 commit 9e4411f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LivewireAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ protected function getEventProperties($event)
protected function livewireAlertIcons(): array
{
return [
'',
'success',
'info',
'warning',
Expand Down Expand Up @@ -210,4 +211,4 @@ protected function configurationKeys(): array
'inputAttributes'
];
}
}
}

0 comments on commit 9e4411f

Please sign in to comment.