Browse Source

fix: Badge proptypes define (#2091)

Matoz 1 year ago
parent
commit
abe83dc9dd
1 changed files with 1 additions and 1 deletions
  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'],
 };