Add color prop to CircularProgress (#520)
This commit is contained in:
parent
d57d9c78cf
commit
cdf93ed004
@ -34,6 +34,9 @@ class CircularProgress(ChakraComponent):
|
|||||||
# The desired valueText to use in place of the value.
|
# The desired valueText to use in place of the value.
|
||||||
value_text: Var[str]
|
value_text: Var[str]
|
||||||
|
|
||||||
|
# The color name of the progress bar
|
||||||
|
color: Var[str]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create(cls, *children, label=None, **props) -> Component:
|
def create(cls, *children, label=None, **props) -> Component:
|
||||||
"""Create a circular progress component.
|
"""Create a circular progress component.
|
||||||
|
Loading…
Reference in New Issue
Block a user