+
{loading ? (
-
} size="small" />
+
}
+ size="small"
+ />
) : (
-
- {icon ?? <>>}
-
+ (icon || showDefaultIcon) && (
+
+ {icon ?? <>>}
+
+ )
)}
{props.children}
diff --git a/src/statusTag/style.scss b/src/statusTag/style.scss
index ab1dadb12..ee3cd7694 100644
--- a/src/statusTag/style.scss
+++ b/src/statusTag/style.scss
@@ -58,6 +58,7 @@ $colors: (
display: flex;
align-items: center;
font-size: 16px;
+ margin-right: 8px;
&--default {
display: inline-block;
width: 6px;
@@ -68,7 +69,6 @@ $colors: (
&__text {
font-size: 12px;
font-weight: 400;
- margin-left: 8px;
line-height: 22px;
white-space: nowrap;
}