unbreak cond why not

This commit is contained in:
Khaleel Al-Adhami 2025-01-22 12:53:16 -08:00
parent 8173e10698
commit 84d3a2bb97

View File

@ -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)