Skip to content

Typo in type hint of solara.components.tooltip.Tooltip #685

@MG-MW

Description

@MG-MW

There is a typo in the definition of the Tooltip component:
https://github.com/widgetti/solara/blob/714e41d8950b38bd14435ae4356d9d841c4a278f/solara/components/tooltip.py#L10C5-L10C40
Currently, it's like this:

@solara.component
def Tooltip(
    tooltip=Union[str, solara.Element],
    children=[],
    color: Optional[str] = None,
):

but should be

@solara.component
def Tooltip(
    tooltip: Union[str, solara.Element],
    children=[],
    color: Optional[str] = None,
):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions