From 84d3a2bb97f690f089f615ac924097fdb4575bc6 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 22 Jan 2025 12:53:16 -0800 Subject: [PATCH] unbreak cond why not --- reflex/components/core/cond.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reflex/components/core/cond.py b/reflex/components/core/cond.py index 62f4e92cd..7ba5f2fc0 100644 --- a/reflex/components/core/cond.py +++ b/reflex/components/core/cond.py @@ -90,3 +90,9 @@ def color_mode_cond(light: Any, dark: Any = None) -> Var | Component: light, dark, ) + + +class Cond: + """Create a conditional component or Prop.""" + + create = staticmethod(cond)