Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Using component children #71

@Arkellys

Description

@Arkellys

The current way to use a component children with tippy is to either use forwardRef or to wrap the component in a span tag.

However, I was wondering if by any chance there was another way to make it work ?

I just updated to the latest version of tippy and putting forwardRef everywhere is not maintainable. I would like to keep the accessibility so the span is also a problem (and it break the design sometimes as well). I don't use styled components either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions