Sfoglia il codice sorgente

fix: Badge proptypes define (#2091)

Matoz 1 anno fa
parent
commit
abe83dc9dd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/semi-foundation/badge/constants.ts

+ 1 - 1
packages/semi-foundation/badge/constants.ts

@@ -7,7 +7,7 @@ const cssClasses = {
 };
 
 const strings = {
-    TYPE_SET: ['primary', 'secondary', 'tertiary', 'warning', 'danger'],
+    TYPE_SET: ['success', 'primary', 'secondary', 'tertiary', 'warning', 'danger'],
     THEME_SET: ['solid', 'light', 'inverted'],
     POS_SET: ['leftTop', 'leftBottom', 'rightTop', 'rightBottom'],
 };