mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(inline-loading): render iconDescription as title in error/warning icons
Ref: 51c53c923
This commit is contained in:
parent
cd5547d058
commit
0533a01df9
1 changed files with 8 additions and 2 deletions
|
@ -55,9 +55,15 @@
|
||||||
>
|
>
|
||||||
<div class:bx--inline-loading__animation="{true}">
|
<div class:bx--inline-loading__animation="{true}">
|
||||||
{#if status === "error"}
|
{#if status === "error"}
|
||||||
<ErrorFilled16 class="bx--inline-loading--error" />
|
<ErrorFilled16
|
||||||
|
class="bx--inline-loading--error"
|
||||||
|
title="{iconDescription}"
|
||||||
|
/>
|
||||||
{:else if status === "finished"}
|
{:else if status === "finished"}
|
||||||
<CheckmarkFilled16 class="bx--inline-loading__checkmark-container" />
|
<CheckmarkFilled16
|
||||||
|
class="bx--inline-loading__checkmark-container"
|
||||||
|
title="{iconDescription}"
|
||||||
|
/>
|
||||||
{:else if status === "inactive" || status === "active"}
|
{:else if status === "inactive" || status === "active"}
|
||||||
<Loading
|
<Loading
|
||||||
small
|
small
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue