def format_props(*single_props, **key_value_props) -> list[str]:
    """Format the tag's props.

    Args:
        single_props: Props that are not key-value pairs.
        key_value_props: Props that are key-value pairs.

    Returns:
        The formatted props list.
    """
    # Format all the props.
    from reflex.vars import LiteralStringVar, LiteralVar, Var

    return [
        (str(LiteralStringVar.create(name)) if "-" in name else name)
        + ":"
        + str(format_prop(prop if isinstance(prop, Var) else LiteralVar.create(prop)))
        for name, prop in sorted(key_value_props.items())
        if prop is not None
    ] + [(f"...{LiteralVar.create(prop)!s}") for prop in single_props]
Format the tag's props.

    Args:
        single_props: Props that are not key-value pairs.
        key_value_props: Props that are key-value pairs.

    Returns:
        The formatted props list.
    
reflex/utils/format.py