소스 검색

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.