浏览代码

Add color prop to CircularProgress (#520)

Cheesy-Brik 2 年之前
父节点
当前提交
cdf93ed004
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pynecone/components/feedback/circularprogress.py

+ 3 - 0
pynecone/components/feedback/circularprogress.py

@@ -34,6 +34,9 @@ class CircularProgress(ChakraComponent):
     # The desired valueText to use in place of the value.
     value_text: Var[str]
 
+    # The color name of the progress bar
+    color: Var[str]
+
     @classmethod
     def create(cls, *children, label=None, **props) -> Component:
         """Create a circular progress component.