Browse Source

feat(progress): support linear background color (#872)

vecpeng 3 years ago
parent
commit
3f4fcdc112
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/semi-ui/progress/index.tsx

+ 1 - 1
packages/semi-ui/progress/index.tsx

@@ -239,7 +239,7 @@ class Progress extends Component<ProgressProps, ProgressState> {
         const percNumber = this.calcPercent(percentNumber);
 
         const innerStyle: Record<string, any> = {
-            backgroundColor: stroke
+            background: stroke
         };
         if (direction === strings.DEFAULT_DIRECTION) {
             innerStyle.width = `${perc}%`;