use: correct icons for banner alerts.

This commit is contained in:
ItzNotABug
2024-10-01 13:41:30 +05:30
parent bf97c0e383
commit eec01b59de
+9 -1
View File
@@ -10,7 +10,15 @@
class:is-danger={type === 'error'}
class:is-info={type === 'info'}>
<div class="alert-grid">
<span class="icon-info" aria-hidden="true" />
<span
aria-hidden="true"
class:icon-check-circle={type === 'success'}
class:icon-exclamation={type === 'warning'}
class:icon-exclamation-circle={type === 'error'}
class:icon-info={type === 'info' || type === 'default'}
/>
<div class="alert-content">
{#if title || $$slots.title}
<h6 class="alert-title">