Skip to content

How to use ref with Text and tooltip attributes? #514

@egucciar

Description

@egucciar

related to #492 - one level deeper

I want to create a wrapper for text that automatically tooltips the text if its truncated. I have working code, but unable to get the prop passing to pass typechecks.

Example broken sandbox:

https://codesandbox.io/p/sandbox/goofy-mirzakhani-3kndz6

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    3.9.0

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions