Explorar el Código

fix rx.audio playing prop type: str to bool (#1986)

Biresh Biswas hace 1 año
padre
commit
317b883ec8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      reflex/components/libs/react_player.py

+ 1 - 1
reflex/components/libs/react_player.py

@@ -21,7 +21,7 @@ class ReactPlayerComponent(NoSSRComponent):
     url: Var[str]
 
     # Set to true or false to pause or play the media
-    playing: Var[str]
+    playing: Var[bool]
 
     # Set to true or false to loop the media
     loop: Var[bool]