i hate python 3.9

This commit is contained in:
Khaleel Al-Adhami 2024-11-07 14:59:32 -08:00
parent d083c0470f
commit c1f4057ba7

View File

@ -1,9 +1,11 @@
"""A Reflex logo component."""
from typing import Union
import reflex as rx
def svg_logo(color: str | rx.Var[str] = rx.color_mode_cond("#110F1F", "white")):
def svg_logo(color: Union[str, rx.Var[str]] = rx.color_mode_cond("#110F1F", "white")):
"""A Reflex logo SVG.
Args: